Trait oasis_cbor::encode::EncodeAsMap[][src]

pub trait EncodeAsMap: Encode {
    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, returning the map items.

Implementations on Foreign Types

Implementors