Trait heed::BytesDecode
source · pub trait BytesDecode<'a> {
type DItem: 'a;
// Required method
fn bytes_decode(
bytes: &'a [u8],
) -> Result<Self::DItem, Box<dyn Error + Sync + Send>>;
}
Expand description
A trait that represents a decoding structure.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.