Trait dcbor::CBOREncodable
source · pub trait CBOREncodable: Into<CBOR> {
// Required method
fn cbor(&self) -> CBOR;
// Provided method
fn cbor_data(&self) -> Vec<u8> ⓘ { ... }
}Expand description
A type that can be encoded as CBOR.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.