pub trait CompactLen<T> {
    fn compact_len(val: &T) -> usize;
}
Expand description

Something that can return the compact encoded length for a given value.

Required Methods§

Returns the compact encoded length for the given value.

Implementors§