pub struct BandwidthTracker {
pub current_rate: Option<BandwidthRate>,
/* private fields */
}Expand description
Tracks bandwidth by sampling byte counters.
Fields§
§current_rate: Option<BandwidthRate>Implementations§
Trait Implementations§
Source§impl Debug for BandwidthTracker
impl Debug for BandwidthTracker
Auto Trait Implementations§
impl Freeze for BandwidthTracker
impl RefUnwindSafe for BandwidthTracker
impl Send for BandwidthTracker
impl Sync for BandwidthTracker
impl Unpin for BandwidthTracker
impl UnsafeUnpin for BandwidthTracker
impl UnwindSafe for BandwidthTracker
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