pub struct Traffic {
pub up: usize,
pub down: usize,
}Expand description
Traffic counters measured in bytes.
Fields§
§up: usize§down: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Traffic
impl RefUnwindSafe for Traffic
impl Send for Traffic
impl Sync for Traffic
impl Unpin for Traffic
impl UnsafeUnpin for Traffic
impl UnwindSafe for Traffic
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more