pub struct PushTcNetemSlot { /* private fields */ }Available on crate feature
tc only.Implementations§
Source§impl PushTcNetemSlot
impl PushTcNetemSlot
Sourcepub fn new_from_slice(other: &[u8]) -> Option<Self>
pub fn new_from_slice(other: &[u8]) -> Option<Self>
Copy from contents from other slice
pub fn as_slice(&self) -> &[u8] ⓘ
pub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
pub const fn len() -> usize
pub fn min_delay(&self) -> i64
pub fn set_min_delay(&mut self, value: i64)
pub fn max_delay(&self) -> i64
pub fn set_max_delay(&mut self, value: i64)
pub fn max_packets(&self) -> i32
pub fn set_max_packets(&mut self, value: i32)
pub fn max_bytes(&self) -> i32
pub fn set_max_bytes(&mut self, value: i32)
pub fn dist_delay(&self) -> i64
pub fn set_dist_delay(&mut self, value: i64)
pub fn dist_jitter(&self) -> i64
pub fn set_dist_jitter(&mut self, value: i64)
Trait Implementations§
Source§impl Clone for PushTcNetemSlot
impl Clone for PushTcNetemSlot
Source§fn clone(&self) -> PushTcNetemSlot
fn clone(&self) -> PushTcNetemSlot
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 PushTcNetemSlot
impl Debug for PushTcNetemSlot
Auto Trait Implementations§
impl Freeze for PushTcNetemSlot
impl RefUnwindSafe for PushTcNetemSlot
impl Send for PushTcNetemSlot
impl Sync for PushTcNetemSlot
impl Unpin for PushTcNetemSlot
impl UnwindSafe for PushTcNetemSlot
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