pub struct EgressInterfaceKindCounts { /* private fields */ }Implementations§
Source§impl EgressInterfaceKindCounts
impl EgressInterfaceKindCounts
pub const fn get(&self, kind: InterfaceKind) -> u64
pub const fn unknown(&self) -> u64
pub fn iter(&self) -> impl ExactSizeIterator<Item = (InterfaceKind, u64)> + '_
Trait Implementations§
Source§impl Clone for EgressInterfaceKindCounts
impl Clone for EgressInterfaceKindCounts
Source§fn clone(&self) -> EgressInterfaceKindCounts
fn clone(&self) -> EgressInterfaceKindCounts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EgressInterfaceKindCounts
Source§impl Debug for EgressInterfaceKindCounts
impl Debug for EgressInterfaceKindCounts
Source§impl Default for EgressInterfaceKindCounts
impl Default for EgressInterfaceKindCounts
impl Eq for EgressInterfaceKindCounts
impl StructuralPartialEq for EgressInterfaceKindCounts
Auto Trait Implementations§
impl Freeze for EgressInterfaceKindCounts
impl RefUnwindSafe for EgressInterfaceKindCounts
impl Send for EgressInterfaceKindCounts
impl Sync for EgressInterfaceKindCounts
impl Unpin for EgressInterfaceKindCounts
impl UnsafeUnpin for EgressInterfaceKindCounts
impl UnwindSafe for EgressInterfaceKindCounts
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