Expand description
Encoding DBN and Zstd-compressed DBN files and streams. Encoders implement the
EncodeDbn
trait.
Re-exports§
pub use self::csv::Encoder as CsvEncoder;
pub use self::dbn::Encoder as DbnEncoder;
pub use self::dbn::MetadataEncoder as DbnMetadataEncoder;
pub use self::dbn::RecordEncoder as DbnRecordEncoder;
pub use self::json::Encoder as JsonEncoder;
pub use self::dbn::AsyncEncoder as AsyncDbnEncoder;
async
pub use self::dbn::AsyncMetadataEncoder as AsyncDbnMetadataEncoder;
async
pub use self::dbn::AsyncRecordEncoder as AsyncDbnRecordEncoder;
async
pub use self::json::AsyncEncoder as AsyncJsonEncoder;
async
Modules§
- Encoding of DBN records into comma-separated values (CSV).
- Encoding DBN records into DBN, Zstandard-compressed or not.
- Encoding of DBN records into newline-delimited JSON (ndjson).
Structs§
- DynAsyncWriter
async
An object that allows for abstracting over compressed and uncompressed output. - An encoder whose
Encoding
andCompression
can be set at runtime. - Helper for constructing a
DynEncoder
. - Type for runtime polymorphism over whether encoding uncompressed or ZStd-compressed DBN records. Implements
std::io::Write
.
Constants§
- The default Zstandard compression level used.
Traits§
- Trait for types that encode DBN records with a specific record type.
- Trait for types that encode a DBN record of a specific type.
- Trait for types that encode DBN records with mixed schemas.
- Extension trait for text encodings.