[][src]Trait pq_bincode::IBincodeSerializable

pub trait IBincodeSerializable<T = Self> where
    Self: DeserializeOwned + Serialize + Clone + Send + Sized
{ fn from_bincode(bincode_slice: &[u8]) -> Option<Self> { ... }
fn to_bincode(&self) -> Vec<u8> { ... } }

Provided methods

fn from_bincode(bincode_slice: &[u8]) -> Option<Self>

fn to_bincode(&self) -> Vec<u8>

Loading content...

Implementors

Loading content...