Function oasis_cbor::from_value [−][src]
pub fn from_value<T>(value: Value) -> Result<T, DecodeError> where
T: Decode,
Expand description
Convert high-level CBOR representation into the given type.
This is the same as calling T::try_from_cbor_value(value)
.