Trait heed::BytesEncode
source · pub trait BytesEncode<'a> {
type EItem: 'a + ?Sized;
// Required method
fn bytes_encode(
item: &'a Self::EItem,
) -> Result<Cow<'a, [u8]>, Box<dyn Error + Send + Sync>>;
}
Expand description
A trait that represents an encoding structure.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.