Trait tapa_trait_serde::ICborSerializable[][src]

pub trait ICborSerializable<T = Self> where
    Self: DeserializeOwned + Serialize + Send + Sized
{ fn from_cbor_bytes(cbor_slice: &[u8]) -> AnyResult<Self> { ... }
fn to_cbor_bytes(&self) -> Vec<u8> { ... } }

Provided methods

fn from_cbor_bytes(cbor_slice: &[u8]) -> AnyResult<Self>[src]

fn to_cbor_bytes(&self) -> Vec<u8>[src]

Loading content...

Implementors

Loading content...