Function oasis_cbor::to_value

source ·
pub fn to_value<T>(value: T) -> Valuewhere
    T: Encode,
Expand description

Convert the given type into its high-level CBOR representation.

This is the same as calling value.into_cbor_value().