Module codec_impls

Source
Expand description

Implementations of Codec for stdlib types.

Structs§

ShardIdSchema
An implementation of Schema for ShardId.
SimpleColumnarDecoder
A type that implements ColumnDecoder for SimpleColumnarData.
SimpleColumnarEncoder
A type that implements ColumnEncoder for SimpleColumnarData.
StringSchema
An implementation of Schema for String.
TodoColumnarDecoder
A ColumnDecoder that has no implementation.
TodoColumnarEncoder
A ColumnEncoder that has no implementation.
TodoSchema
A placeholder for a Codec impl that hasn’t yet gotten a real Schema.
UnitColumnar
An encoder and decoder for UnitSchema.
UnitSchema
An implementation of Schema for [()].
VecU8Schema
An implementation of Schema for Vec<u8>.

Constants§

BYTES_CODEC_NAME 🔒
All codecs that are compatible with a blob of bytes use that same name. This allows us to switch between the codecs without any incompatibility errors. The name is chosen for historical reasons.

Traits§

SimpleColumnarData
Simple type of data that can be columnar encoded.