Expand description
Tuple binding subsystem for encoding Rust primitive types into sortable byte arrays.
This module provides the primary binding mechanism for database keys. Values are encoded in a way that their byte representation sorts in the same order as the original values when compared lexicographically.
Re-exports§
pub use sort_key::SortKey;pub use tuple_binding::TupleBinding;pub use tuple_input::TupleInput;pub use tuple_output::TupleOutput;pub use primitive_bindings::*;
Modules§
- primitive_
bindings - Type-specific tuple bindings for primitive types.
- sort_
key - Sort-preserving key encoding trait for database keys.
- tuple_
binding - TupleBinding trait for type-specific tuple serialization.
- tuple_
input - TupleInput: reads primitive types from a byte buffer using sortable encodings.
- tuple_
output - TupleOutput: writes primitive types to a growable buffer using sortable encodings.