Decode

Trait Decode 

Source
pub trait Decode {
    // Required method
    fn decode(&self) -> Result<Vec<CborType>, DecodeError>;
}
Expand description

Binary CBOR encoding.

Required Methods§

Source

fn decode(&self) -> Result<Vec<CborType>, DecodeError>

Decode data to a CborType list.

Implementations on Foreign Types§

Source§

impl Decode for Vec<Element>

Source§

impl Decode for [u8]

Implementors§