Trait temporenc::Serializable [] [src]

pub trait Serializable {
    fn max_serialized_size() -> usize;
    fn serialized_size(&self) -> usize;
}

Required Methods

The largest encoded size of any instance of the type

The encoded size of this instance

Implementors