pub struct PushMetrics<Prev: Rec> { /* private fields */ }Available on crate feature
rt-route only.Implementations§
Source§impl<Prev: Rec> PushMetrics<Prev>
impl<Prev: Rec> PushMetrics<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn push_lock(self, value: u32) -> Self
pub fn push_mtu(self, value: u32) -> Self
pub fn push_window(self, value: u32) -> Self
pub fn push_rtt(self, value: u32) -> Self
pub fn push_rttvar(self, value: u32) -> Self
pub fn push_ssthresh(self, value: u32) -> Self
pub fn push_cwnd(self, value: u32) -> Self
pub fn push_advmss(self, value: u32) -> Self
pub fn push_reordering(self, value: u32) -> Self
pub fn push_hoplimit(self, value: u32) -> Self
pub fn push_initcwnd(self, value: u32) -> Self
pub fn push_features(self, value: u32) -> Self
pub fn push_rto_min(self, value: u32) -> Self
pub fn push_initrwnd(self, value: u32) -> Self
pub fn push_quickack(self, value: u32) -> Self
pub fn push_cc_algo(self, value: &CStr) -> Self
pub fn push_cc_algo_bytes(self, value: &[u8]) -> Self
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushMetrics<Prev>
impl<Prev: Rec> Drop for PushMetrics<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushMetrics<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushMetrics<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushMetrics<Prev>where
Prev: Send,
impl<Prev> Sync for PushMetrics<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushMetrics<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushMetrics<Prev>where
Prev: UnwindSafe,
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