pub trait StaticDataSize: DataSize {
    fn static_data_size() -> usize
    where
        Self: Sized
; }

Required Methods§

Returns the size of Self in bytes when written with Writable.

If Self is an enum, then the size is the maximum size of the values contained in the variants

Implementations on Foreign Types§

Implementors§