Trait tetsy_scale_codec::CompactLen[][src]

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

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

Required methods

fn compact_len(val: &T) -> usize[src]

Returns the compact encoded length for the given value.

Loading content...

Implementors

Loading content...