Crate re_log_encoding

Crate re_log_encoding 

Source
Expand description

Crate that handles encoding of rerun log types.

Modules§

codec
external
protobuf_conversions
stream_rrd_from_http

Structs§

CachingApplicationIdInjector
Implements ApplicationIdInjector by caching the application ids from StoreInfo.
Decoder
The stream decoder is a state machine which ingests byte chunks and outputs messages once it has enough data to deserialize one.
DecoderIterator
Iteratively decodes the contents of an arbitrary buffered reader.
DummyApplicationIdInjector
Implements ApplicationIdInjector by returning a constant, dummy application id.
Encoder
Encode a stream of LogMsg into an .rrd file.
EncodingOptions
FileSink
Stream log messages to an .rrd file.
NotAnRrdError
When the file does not have the expected .rrd FourCC header.
StreamingDecoder
StreamingDecoderOptions
StreamingLogMsg
A transport-level LogMsg with extra contextual information.

Enums§

DecodeError
On failure to encode or serialize a LogMsg.
EncodeError
On failure to encode or serialize a LogMsg.
FileFlushError
An error that can occur when flushing.
FileSinkError
Errors that can occur when creating a FileSink.

Constants§

OLD_RRD_FOURCC
Previously used FourCCs for Rerun RRD files.
RRD_FOURCC
The currently used FourCC for Rerun RRD files.

Traits§

ApplicationIdInjector
Helper trait for injecting application ids to legacy StoreId protobuf messages which miss it.
FileEncoded

Type Aliases§

DecoderApp
A type alias for a Decoder that decodes all the way from raw bytes to application-level types (i.e. even Arrow layers are decoded).
DecoderTransport
A type alias for a Decoder that only decodes from raw bytes up to transport-level types (i.e. Protobuf payloads are decoded, but Arrow data is never touched).