pub struct PushTcRedQopt { /* private fields */ }Available on crate feature
tc only.Implementations§
Source§impl PushTcRedQopt
impl PushTcRedQopt
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
Sourcepub fn set_qth_min(&mut self, value: u32)
pub fn set_qth_min(&mut self, value: u32)
Min average threshold in packets
Sourcepub fn set_qth_max(&mut self, value: u32)
pub fn set_qth_max(&mut self, value: u32)
Max average threshold in packets
Sourcepub fn set_Scell_log(&mut self, value: u8)
pub fn set_Scell_log(&mut self, value: u8)
Cell size for idle damping
pub fn flags(&self) -> u8
pub fn set_flags(&mut self, value: u8)
Trait Implementations§
Source§impl Clone for PushTcRedQopt
impl Clone for PushTcRedQopt
Source§fn clone(&self) -> PushTcRedQopt
fn clone(&self) -> PushTcRedQopt
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 PushTcRedQopt
impl Debug for PushTcRedQopt
Auto Trait Implementations§
impl Freeze for PushTcRedQopt
impl RefUnwindSafe for PushTcRedQopt
impl Send for PushTcRedQopt
impl Sync for PushTcRedQopt
impl Unpin for PushTcRedQopt
impl UnwindSafe for PushTcRedQopt
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