Expand description
Mode-based parsing.
Mode | Factory | Atomic | Preserves the Stream | read_all | Catch errors |
|---|---|---|---|---|---|
RegularMode | RegularFactory | RegularAtomic | ✗ | ✓ | ✓ |
InliningMode | InliningFactory | InliningAtomic | ✓ | ✗ | ✗ |
Structs
- Used as
WithParseMode::WithMode.
Traits
- Trait representing a readable stream used for parsing.
- Extension trait for Deserializers.
Fromfor references (of any lifetime).- For auto-implementing
FactoryParseandAtomic. - Mode of parsing.
- Type that a
Modeis associated with it. - See
Serializer. - Serialisation mechanism that is chosen over bytestring concatenation both for performance and simplicity.
Deserializerwith a cleaner interface for parsing multiple objects from one stream (“inlining”).
Type Definitions
Modeequivalent ofParseResultfor extension.ParseModeequivalent ofExtensionResult.- See
Mode::prepare. ParseModeequivalent ofExtensionSource.Modeequivalent ofParseResult.ParseModeequivalent ofModeResult.- See
ModeResult. ParseModeequivalent ofParseSuccess.