pub trait EncodeAsMap: Encode {
    fn into_cbor_value_map(self) -> Value
    where
        Self: Sized
, { ... } fn into_cbor_map(self) -> Vec<(Value, Value)>
    where
        Self: Sized
, { ... } }
Expand description

Trait for types that always encode as CBOR maps.

Provided Methods

Encode the type into a CBOR Map.

Encode the type into a CBOR Map, returning the map items.

Implementations on Foreign Types

Implementors