Trait HasSize

Source
pub trait HasSize {
    // Required method
    fn size(&self) -> u32;
}
Expand description

The HasSize trait provides a function for getting the current byte size.

Required Methods§

Source

fn size(&self) -> u32

Get the current byte size.

Implementors§

Source§

impl HasSize for ExternParameter

Source§

impl<T> HasSize for T
where T: AsRef<[u8]>,