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