[][src]Trait heed_traits::BytesEncode

pub trait BytesEncode<'a> {
    type EItem: ?Sized + 'a;
    fn bytes_encode(item: &'a Self::EItem) -> Option<Cow<'a, [u8]>>;
}

Associated Types

type EItem: ?Sized + 'a

Loading content...

Required methods

fn bytes_encode(item: &'a Self::EItem) -> Option<Cow<'a, [u8]>>

Loading content...

Implementors

Loading content...