pub trait Decode<'b>: Sized {
    fn decode(d: &mut Decoder<'b>) -> Result<Self, Error>;
}
Expand description

A type that can be decoded from CBOR.

Required methods

Decode a value using the given Decoder.

Implementations on Foreign Types

Implementors