Trait TotalBytes

Source
pub trait TotalBytes {
    // Required method
    fn total_bytes(&self) -> usize;
}
Expand description

The TotalBytes trait is used to determine how many bytes an object represents

This trait is used to determine how much time an object will take to be sent.

Required Methods§

Implementations on Foreign Types§

Source§

impl TotalBytes for i32

Source§

impl TotalBytes for usize

Implementors§