pub trait GetSize { // Required method fn get_size(&self) -> usize; }
GetSize is a trait defining a single function that calculates the total size of an encodable type.
GetSize
get_size returns total size of the type in bytes.
get_size
Vec is used as the Sv2 type Bytes