Expand description
Decoding DBN and Zstd-compressed DBN files and streams. Decoders implement the
DecodeDbn
trait.
Re-exports§
pub use self::dbn::Decoder as DbnDecoder;
pub use self::dbn::MetadataDecoder as DbnMetadataDecoder;
pub use self::dbn::RecordDecoder as DbnRecordDecoder;
pub use self::dbn::AsyncDecoder as AsyncDbnDecoder;
async
pub use self::dbn::AsyncMetadataDecoder as AsyncDbnMetadataDecoder;
async
pub use self::dbn::AsyncRecordDecoder as AsyncDbnRecordDecoder;
async
Modules§
- Decoding of DBN files.
- dbzDeprecatedDecoding of legacy DBZ files, a precursor to DBN.
Structs§
- AsyncDynReader
async
A type for runtime polymorphism on compressed and uncompressed input. - A decoder implementing
DecodeDbn
whoseEncoding
andCompression
are determined at runtime by peeking at the first few bytes. - Type for runtime polymorphism over whether decoding uncompressed or ZStd-compressed DBN records. Implements
std::io::Write
. - A consuming iterator wrapping a
DecodeRecord
. Lazily decodes the contents of the file or other input stream.
Traits§
- Trait for decoders with metadata about what’s being decoded.
- A trait alias for DBN decoders with metadata.
- Trait for types that decode DBN records of a particular type.
- Trait for types that decode references to DBN records of a dynamic type.
- A trait for decoders that can be converted to streaming iterators.