pub struct PushTcNetemRate { /* private fields */ }Available on crate feature
tc only.Implementations§
Source§impl PushTcNetemRate
impl PushTcNetemRate
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 rate(&self) -> u32
pub fn set_rate(&mut self, value: u32)
pub fn packet_overhead(&self) -> i32
pub fn set_packet_overhead(&mut self, value: i32)
pub fn cell_size(&self) -> u32
pub fn set_cell_size(&mut self, value: u32)
pub fn cell_overhead(&self) -> i32
pub fn set_cell_overhead(&mut self, value: i32)
Trait Implementations§
Source§impl Clone for PushTcNetemRate
impl Clone for PushTcNetemRate
Source§fn clone(&self) -> PushTcNetemRate
fn clone(&self) -> PushTcNetemRate
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 PushTcNetemRate
impl Debug for PushTcNetemRate
Auto Trait Implementations§
impl Freeze for PushTcNetemRate
impl RefUnwindSafe for PushTcNetemRate
impl Send for PushTcNetemRate
impl Sync for PushTcNetemRate
impl Unpin for PushTcNetemRate
impl UnwindSafe for PushTcNetemRate
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