Trait oasis_cbor::encode::Encode

source ·
pub trait Encode {
    fn into_cbor_value(self) -> Value;

    fn is_empty(&self) -> bool { ... }
}
Expand description

Trait for types that can be encoded into CBOR.

Required Methods

Encode the type into a CBOR Value.

Provided Methods

Whether the value is equal to the empty value for the type.

Implementations on Foreign Types

Implementors