Trait ICborSerializable
tapa_trait_serde
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> { ... } }
fn from_cbor_bytes(cbor_slice: &[u8]) -> AnyResult<Self>
fn to_cbor_bytes(&self) -> Vec<u8>