Expand description
Encoding-agnostic core types and decoder contracts for mcap2arrow.
This crate provides Arrow-independent intermediate representations
(Value / DataTypeDef) and the MessageDecoder trait.
Structs§
- Decoded
Message - A decoded message payload used for Arrow conversion.
- Element
Def - Arrow-independent nested element definition used in composite types.
- Encoding
Key - Key identifying a (schema_encoding, message_encoding) pair.
- Field
Def - Arrow-independent field definition for schema intermediate representation.
- Field
Defs - Typed collection of
FieldDefused for schema bodies and struct members. - Value
Type Error
Enums§
- Data
Type Def - Arrow-independent data type definition for schema intermediate representation.
- Decoder
Error - Error returned by
MessageDecoderimplementations. - Message
Encoding - Message encodings defined in the mcap spec registry. https://mcap.dev/spec/registry
- Schema
Encoding - Schema encodings defined in the mcap spec registry. https://mcap.dev/spec/registry
- Value
- Value produced by message decoders. All types are explicit; no lossy conversions.
Traits§
- Message
Decoder - Factory trait that builds topic-local decoders from MCAP schema metadata.
- Topic
Decoder - Topic-local decoder built from MCAP schema metadata.
Functions§
- format_
field_ defs - Format field definitions in a readable style: primitive fields are rendered in one line, compound fields are pretty-printed. Nested fields follow the same rule.