pub struct PushNetemAttrs<Prev: Rec> { /* private fields */ }Available on crate feature
tc only.Implementations§
Source§impl<Prev: Rec> PushNetemAttrs<Prev>
impl<Prev: Rec> PushNetemAttrs<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn push_corr(self, value: PushTcNetemCorr) -> Self
pub fn push_delay_dist(self, value: &[u8]) -> Self
pub fn push_reorder(self, value: PushTcNetemReorder) -> Self
pub fn push_corrupt(self, value: PushTcNetemCorrupt) -> Self
pub fn nested_loss(self) -> PushNetemLossAttrs<Self>
pub fn push_rate(self, value: PushTcNetemRate) -> Self
pub fn push_ecn(self, value: u32) -> Self
pub fn push_rate64(self, value: u64) -> Self
pub fn push_pad(self, value: u32) -> Self
pub fn push_latency64(self, value: i64) -> Self
pub fn push_jitter64(self, value: i64) -> Self
pub fn push_slot(self, value: PushTcNetemSlot) -> Self
pub fn push_slot_dist(self, value: &[u8]) -> Self
pub fn push_prng_seed(self, value: u64) -> Self
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushNetemAttrs<Prev>
impl<Prev: Rec> Drop for PushNetemAttrs<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushNetemAttrs<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushNetemAttrs<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushNetemAttrs<Prev>where
Prev: Send,
impl<Prev> Sync for PushNetemAttrs<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushNetemAttrs<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushNetemAttrs<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