serde_cbor::value

Function from_value

Source
pub fn from_value<T>(value: Value) -> Result<T, Error>
Expand description

Convert a serde_cbor::Value into a type T