pub trait Decode {
    fn check_type_id(decoder: &mut Decoder<'_>) -> Result<(), DecodeError>;
    fn decode_value(decoder: &mut Decoder<'_>) -> Result<Self, DecodeError>;

    fn decode(decoder: &mut Decoder<'_>) -> Result<Self, DecodeError> { ... }
}
Expand description

A data structure that can be decoded from a byte array using SBOR.

Required Methods

Provided Methods

Implementations on Foreign Types

Implementors