Struct sctp_proto::AssociationStats
source · pub struct AssociationStats { /* private fields */ }
Expand description
Association statistics
Implementations§
source§impl AssociationStats
impl AssociationStats
pub fn inc_datas(&mut self)
pub fn get_num_datas(&mut self) -> u64
pub fn inc_sacks(&mut self)
pub fn get_num_sacks(&mut self) -> u64
pub fn inc_t3timeouts(&mut self)
pub fn get_num_t3timeouts(&mut self) -> u64
pub fn inc_ack_timeouts(&mut self)
pub fn get_num_ack_timeouts(&mut self) -> u64
pub fn inc_fast_retrans(&mut self)
pub fn get_num_fast_retrans(&mut self) -> u64
pub fn reset(&mut self)
Trait Implementations§
source§impl Clone for AssociationStats
impl Clone for AssociationStats
source§fn clone(&self) -> AssociationStats
fn clone(&self) -> AssociationStats
Returns a copy 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 AssociationStats
impl Debug for AssociationStats
source§impl Default for AssociationStats
impl Default for AssociationStats
source§fn default() -> AssociationStats
fn default() -> AssociationStats
Returns the “default value” for a type. Read more
impl Copy for AssociationStats
Auto Trait Implementations§
impl Freeze for AssociationStats
impl RefUnwindSafe for AssociationStats
impl Send for AssociationStats
impl Sync for AssociationStats
impl Unpin for AssociationStats
impl UnwindSafe for AssociationStats
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)