pub trait Encode {
    fn encode_type_id(encoder: &mut Encoder<'_>);
    fn encode_value(&self, encoder: &mut Encoder<'_>);

    fn encode(&self, encoder: &mut Encoder<'_>) { ... }
}
Expand description

A data structure that can be serialized into a byte array using SBOR.

Required Methods

Provided Methods

Implementations on Foreign Types

Implementors