Struct netlink_packet_route::rtnl::tc::nlas::StatsBasic
source · [−]Expand description
Byte/Packet throughput statistics
Fields
bytes: u64
number of seen bytes
packets: u32
number of seen packets
Trait Implementations
sourceimpl Clone for StatsBasic
impl Clone for StatsBasic
sourcefn clone(&self) -> StatsBasic
fn clone(&self) -> StatsBasic
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StatsBasic
impl Debug for StatsBasic
sourceimpl Emitable for StatsBasic
impl Emitable for StatsBasic
sourceimpl<T: AsRef<[u8]>> Parseable<StatsBasicBuffer<T>> for StatsBasic
impl<T: AsRef<[u8]>> Parseable<StatsBasicBuffer<T>> for StatsBasic
sourcefn parse(buf: &StatsBasicBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &StatsBasicBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
sourceimpl PartialEq<StatsBasic> for StatsBasic
impl PartialEq<StatsBasic> for StatsBasic
sourcefn eq(&self, other: &StatsBasic) -> bool
fn eq(&self, other: &StatsBasic) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StatsBasic) -> bool
fn ne(&self, other: &StatsBasic) -> bool
This method tests for !=
.
impl Copy for StatsBasic
impl Eq for StatsBasic
impl StructuralEq for StatsBasic
impl StructuralPartialEq for StatsBasic
Auto Trait Implementations
impl RefUnwindSafe for StatsBasic
impl Send for StatsBasic
impl Sync for StatsBasic
impl Unpin for StatsBasic
impl UnwindSafe for StatsBasic
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more