pub struct Primitives(pub ccp_primitives);Tuple Fields§
§0: ccp_primitivesImplementations§
Source§impl Primitives
impl Primitives
pub fn with_bytes_acked(self, val: u32) -> Self
pub fn with_packets_acked(self, val: u32) -> Self
pub fn with_bytes_misordered(self, val: u32) -> Self
pub fn with_packets_misordered(self, val: u32) -> Self
pub fn with_ecn_bytes(self, val: u32) -> Self
pub fn with_ecn_packets(self, val: u32) -> Self
pub fn with_lost_pkts_sample(self, val: u32) -> Self
pub fn with_was_timeout(self, val: bool) -> Self
pub fn with_rtt_sample_us(self, val: u64) -> Self
pub fn with_rate_outgoing(self, val: u64) -> Self
pub fn with_rate_incoming(self, val: u64) -> Self
pub fn with_bytes_in_flight(self, val: u32) -> Self
pub fn with_packets_in_flight(self, val: u32) -> Self
pub fn with_snd_cwnd(self, val: u32) -> Self
pub fn with_snd_rate(self, val: u64) -> Self
pub fn with_bytes_pending(self, val: u32) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Primitives
impl RefUnwindSafe for Primitives
impl Send for Primitives
impl Sync for Primitives
impl Unpin for Primitives
impl UnwindSafe for Primitives
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