pub struct PushTcPolice { /* private fields */ }Available on crate feature
tc only.Implementations§
Source§impl PushTcPolice
impl PushTcPolice
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 index(&self) -> u32
pub fn set_index(&mut self, value: u32)
pub fn action(&self) -> i32
pub fn set_action(&mut self, value: i32)
pub fn limit(&self) -> u32
pub fn set_limit(&mut self, value: u32)
pub fn burst(&self) -> u32
pub fn set_burst(&mut self, value: u32)
pub fn mtu(&self) -> u32
pub fn set_mtu(&mut self, value: u32)
pub fn rate(&self) -> PushTcRatespec
pub fn set_rate(&mut self, value: PushTcRatespec)
pub fn peakrate(&self) -> PushTcRatespec
pub fn set_peakrate(&mut self, value: PushTcRatespec)
pub fn refcnt(&self) -> i32
pub fn set_refcnt(&mut self, value: i32)
pub fn bindcnt(&self) -> i32
pub fn set_bindcnt(&mut self, value: i32)
pub fn capab(&self) -> u32
pub fn set_capab(&mut self, value: u32)
Trait Implementations§
Source§impl Clone for PushTcPolice
impl Clone for PushTcPolice
Source§fn clone(&self) -> PushTcPolice
fn clone(&self) -> PushTcPolice
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 PushTcPolice
impl Debug for PushTcPolice
Auto Trait Implementations§
impl Freeze for PushTcPolice
impl RefUnwindSafe for PushTcPolice
impl Send for PushTcPolice
impl Sync for PushTcPolice
impl Unpin for PushTcPolice
impl UnwindSafe for PushTcPolice
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