pub struct Traffic { /* private fields */ }Expand description
A typed reader over one traffic track. Yields the latest TrafficFrame;
intermediate frames a slow reader missed are collapsed, which is safe
because the counters are cumulative.
Implementations§
Auto Trait Implementations§
impl !Freeze for Traffic
impl !RefUnwindSafe for Traffic
impl !Sync for Traffic
impl !UnwindSafe for Traffic
impl Send for Traffic
impl Unpin for Traffic
impl UnsafeUnpin 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