Trait dcbor::CBOREncodable
source · pub trait CBOREncodable {
// Required methods
fn cbor(&self) -> CBOR;
fn cbor_data(&self) -> Vec<u8>;
}Expand description
A type that can be encoded as CBOR.
pub trait CBOREncodable {
// Required methods
fn cbor(&self) -> CBOR;
fn cbor_data(&self) -> Vec<u8>;
}A type that can be encoded as CBOR.