Expand description
Crate that handles encoding of rerun log types.
Modules§
Structs§
- Caching
Application IdInjector - Implements
ApplicationIdInjectorby caching the application ids fromStoreInfo. - Decoder
- The stream decoder is a state machine which ingests byte chunks and outputs messages once it has enough data to deserialize one.
- Decoder
Iterator - Iteratively decodes the contents of an arbitrary buffered reader.
- Dummy
Application IdInjector - Implements
ApplicationIdInjectorby returning a constant, dummy application id. - Encoder
- Encode a stream of
LogMsginto an.rrdfile. - Encoding
Options - File
Sink - Stream log messages to an
.rrdfile. - NotAn
RrdError - When the file does not have the expected .rrd FourCC header.
- Streaming
Decoder - Streaming
Decoder Options - Streaming
LogMsg - A transport-level
LogMsgwith extra contextual information.
Enums§
- Decode
Error - On failure to encode or serialize a
LogMsg. - Encode
Error - On failure to encode or serialize a
LogMsg. - File
Flush Error - An error that can occur when flushing.
- File
Sink Error - Errors that can occur when creating a
FileSink.
Constants§
- OLD_
RRD_ FOURCC - Previously used
FourCCs for Rerun RRD files. - RRD_
FOURCC - The currently used
FourCCfor Rerun RRD files.
Traits§
- Application
IdInjector - Helper trait for injecting application ids to legacy
StoreIdprotobuf messages which miss it. - File
Encoded
Type Aliases§
- Decoder
App - A type alias for a
Decoderthat decodes all the way from raw bytes to application-level types (i.e. even Arrow layers are decoded). - Decoder
Transport - A type alias for a
Decoderthat only decodes from raw bytes up to transport-level types (i.e. Protobuf payloads are decoded, but Arrow data is never touched).