pub struct BandwidthRate {
pub rx_bytes_per_sec: f64,
pub tx_bytes_per_sec: f64,
}Expand description
Bandwidth measurement: bytes per second for RX and TX.
Fields§
§rx_bytes_per_sec: f64§tx_bytes_per_sec: f64Trait Implementations§
Source§impl Clone for BandwidthRate
impl Clone for BandwidthRate
Source§fn clone(&self) -> BandwidthRate
fn clone(&self) -> BandwidthRate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BandwidthRate
impl Debug for BandwidthRate
impl Copy for BandwidthRate
Auto Trait Implementations§
impl Freeze for BandwidthRate
impl RefUnwindSafe for BandwidthRate
impl Send for BandwidthRate
impl Sync for BandwidthRate
impl Unpin for BandwidthRate
impl UnsafeUnpin for BandwidthRate
impl UnwindSafe for BandwidthRate
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