Skip to main content

Encoder

Trait Encoder 

Source
pub trait Encoder {
    // Required method
    fn encode(&self) -> Vec<u8> ;
}

Required Methods§

Source

fn encode(&self) -> Vec<u8>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§