Expand description
Core module for ADN functionality.
Brings Mentionable/Factory/Origin concepts from the original implementation in Python.
Allows for more generic behaviour via Context, as opposed to original async-only.
Structs
- Value accepted by
Resolver::resolve. Includes index to make it order-sensitive. - Demoted
InCtx, returned byInCtx::demote. Use when a concrete type is required. - The main way to represent a reference in ADN.
Enums
- Failure yielded by
Origin.
Constants
- Fixed Hash length.
Traits
- For auto-deriving
InliningFactoryfrom concrete implementations. - For auto-deriving
RegularFactoryfrom concrete implementations. - Execution context.
- Basic support for tracing events across the execution.
- Trait representing deserialisation rules for Mentionables. Crucial for typelessness.
- Factory base.
- Extension trait for factories.
- A more generic version of
FactoryParse. - External implementation of
FactoryModeParse. - Factory that allows parsing consuming the parser.
- Inlining (Streamed) context.
- Factory preserving the parser on success.
- Fundamental trait for ADN objects.
- Mentionable base.
- Topological Mentionable. Allows iterating over Points it references, if any;
- Represents a potentially resolvable
Mentionable. - Visitor used in
MentionableTop::points_typed. - Trait representing the “rainbow table” behaviour.
Functions
Type Definitions
FactoryParseequivalent ofExtensionResult.FactoryParseequivalent ofExtensionSource.- Shorthand for the type of values returned by
Resolver::resolve. - Underlying
ResultofHashResolution. In case of success, contains byte data and the resolver for points appearing inside that data. - Inlining version of
ParseResult. Preserves the parser. Context::LookupError. Mostly useful fortypedefinitions.FactoryParseequivalent ofModeResult.FactoryBase::ParseError. Mostly useful fortypedefinitions.- Shorthand for the type of values returned by
FactoryParse::deserialize. - Wrapped result returned by
Origin. - See
ResolutionResult. - Result yielded by
Origin. - Helper alias for
WeakFunctor::FofFunctorContext::T.