pub trait SizedBytes {
    fn serialized_size(&self) -> usize;
}
Expand description

Define the amount of bytes for a serialization implementation.

Required Methods

Return the expected serialized size for an instance of the type.

Implementors