Crate bonsaidb::core::transmog_pot
Expand description
Transmog implementation of the Pot format.
This crate provides a Format
trait implementation using the Pot
type:
use transmog::{Format, OwnedDeserializer};
use transmog_pot::Pot;
let pot = Pot::default();
let serialized = pot.serialize(&42_u64).unwrap();
let deserialized: u64 = pot.deserialize_owned(&serialized).unwrap();
assert_eq!(deserialized, 42);
Modules
- A concise storage format, written for
BonsaiDb
.
Structs
- Pot implementor of
Format
.