Expand description
Prototype types for the format codex deserializer.
Structs§
- Enum
Variant Hint - Metadata about an enum variant for use with
hint_enum. - Field
Evidence - Evidence describing a serialized field encountered while probing input.
- Field
Key - Field key with optional namespace (for XML).
- Format
Deserializer - Generic deserializer that drives a format-specific parser directly into
Partial. - Solve
Outcome - High-level outcome from solving an untagged enum.
- Struct
Field Tracker - Tracks which fields have been seen while deserializing a struct.
Enums§
- Container
Kind - The kind of container being parsed.
- Deserialize
Error - Error produced by
FormatDeserializer. - Field
Location Hint - Location hint for a serialized field.
- Field
Match - Result of checking a serialized field against the active resolution.
- Field
Ordering - Field ordering preference for serialization.
- Parse
Event - Event emitted by a format parser while streaming through input.
- Scalar
Type Hint - Hint for what scalar type is expected next.
- Scalar
Value - Scalar data extracted from the wire format.
- Serialize
Error - Error produced by the shared serializer.
- Solve
Variant Error - Error when variant solving fails.
- Value
Type Hint - Value classification hint for evidence gathering.
Traits§
- Format
Parser - Streaming parser for a specific wire format.
- Format
Serializer - Low-level serializer interface implemented by each format backend.
- Probe
Stream - Streaming cursor that yields serialized fields for solver probing.
Functions§
- serialize_
root - Serialize a root value using the shared traversal logic.
- solve_
variant - Attempt to solve which enum variant matches the input.