pub trait SerializableVec: SizedBytes {
    fn to_bytes(&mut self) -> Vec<u8>;
}
Expand description

Auto-trait to create variable sized vectors out of SizedBytes implementations.

Required methods

Create a variable size vector of bytes from the instance.

Implementors