[−][src]Trait sled_extensions::Encoding
The Encoding trait
By implementing this trait, a custom data format can be used to store information in Sled
Required methods
fn encode(t: &T) -> Result<Vec<u8>>
Encoding data to bytes
fn decode(slice: &[u8]) -> Result<T>
Decoding data from bytes