pub struct MetricsUpdated {
pub min_rtt: Option<f32>,
pub smoothed_rtt: Option<f32>,
pub latest_rtt: Option<f32>,
pub rtt_variance: Option<f32>,
pub pto_count: Option<u16>,
pub congestion_window: Option<u64>,
pub bytes_in_flight: Option<u64>,
pub ssthresh: Option<u64>,
pub packets_in_flight: Option<u64>,
pub pacing_rate: Option<u64>,
}
Fields§
§min_rtt: Option<f32>
§smoothed_rtt: Option<f32>
§latest_rtt: Option<f32>
§rtt_variance: Option<f32>
§pto_count: Option<u16>
§congestion_window: Option<u64>
§bytes_in_flight: Option<u64>
§ssthresh: Option<u64>
§packets_in_flight: Option<u64>
§pacing_rate: Option<u64>
Trait Implementations§
Source§impl Clone for MetricsUpdated
impl Clone for MetricsUpdated
Source§fn clone(&self) -> MetricsUpdated
fn clone(&self) -> MetricsUpdated
Returns a copy 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 MetricsUpdated
impl Debug for MetricsUpdated
Source§impl<'de> Deserialize<'de> for MetricsUpdated
impl<'de> Deserialize<'de> for MetricsUpdated
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MetricsUpdated
impl PartialEq for MetricsUpdated
Source§impl Serialize for MetricsUpdated
impl Serialize for MetricsUpdated
impl StructuralPartialEq for MetricsUpdated
Auto Trait Implementations§
impl Freeze for MetricsUpdated
impl RefUnwindSafe for MetricsUpdated
impl Send for MetricsUpdated
impl Sync for MetricsUpdated
impl Unpin for MetricsUpdated
impl UnwindSafe for MetricsUpdated
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