pub trait SerializableExt: Serializable {
    // Provided method
    fn bytes(&self) -> Vec<u8> { ... }
}
Expand description

Extension trait for Serializables.

Provided Methods§

source

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

Serialize into a Vec of bytes.

Implementors§