pub trait Encode {
    fn encode(&self, sink: &mut Vec<u8>);
}
Expand description

Implemented by types that can be encoded into a byte sink.

Required methods

Encode the type into the given byte sink.

Implementations on Foreign Types

Implementors