pub struct GenericCongAvoidMeasurements {
pub acked: u32,
pub was_timeout: bool,
pub sacked: u32,
pub loss: u32,
pub rtt: u32,
pub inflight: u32,
}Expand description
The fixed list of measurements available to generic-cong-avoid algorithms.
Fields§
§acked: u32In bytes.
was_timeout: bool§sacked: u32In packets.
loss: u32In packets.
rtt: u32In microseconds.
inflight: u32In packets.
Trait Implementations§
Source§impl Clone for GenericCongAvoidMeasurements
impl Clone for GenericCongAvoidMeasurements
Source§fn clone(&self) -> GenericCongAvoidMeasurements
fn clone(&self) -> GenericCongAvoidMeasurements
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 GenericCongAvoidMeasurements
impl Debug for GenericCongAvoidMeasurements
impl Copy for GenericCongAvoidMeasurements
Auto Trait Implementations§
impl Freeze for GenericCongAvoidMeasurements
impl RefUnwindSafe for GenericCongAvoidMeasurements
impl Send for GenericCongAvoidMeasurements
impl Sync for GenericCongAvoidMeasurements
impl Unpin for GenericCongAvoidMeasurements
impl UnwindSafe for GenericCongAvoidMeasurements
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