pub fn from_value<T>(value: Value) -> Result<T, Error>where
T: DeserializeOwned,
Expand description
Convert a serde_cbor::Value
into a type T
pub fn from_value<T>(value: Value) -> Result<T, Error>where
T: DeserializeOwned,
Convert a serde_cbor::Value
into a type T