Struct netlink_packet_route::route::RouteMfcStats
source · #[non_exhaustive]pub struct RouteMfcStats {
pub packets: u64,
pub bytes: u64,
pub wrong_if: u64,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.packets: u64
§bytes: u64
§wrong_if: u64
Trait Implementations§
source§impl Clone for RouteMfcStats
impl Clone for RouteMfcStats
source§fn clone(&self) -> RouteMfcStats
fn clone(&self) -> RouteMfcStats
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 RouteMfcStats
impl Debug for RouteMfcStats
source§impl Emitable for RouteMfcStats
impl Emitable for RouteMfcStats
source§impl<T: AsRef<[u8]>> Parseable<RouteMfcStatsBuffer<T>> for RouteMfcStats
impl<T: AsRef<[u8]>> Parseable<RouteMfcStatsBuffer<T>> for RouteMfcStats
source§fn parse(buf: &RouteMfcStatsBuffer<T>) -> Result<RouteMfcStats, DecodeError>
fn parse(buf: &RouteMfcStatsBuffer<T>) -> Result<RouteMfcStats, DecodeError>
Deserialize the current type.
source§impl PartialEq for RouteMfcStats
impl PartialEq for RouteMfcStats
source§fn eq(&self, other: &RouteMfcStats) -> bool
fn eq(&self, other: &RouteMfcStats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RouteMfcStats
impl Eq for RouteMfcStats
impl StructuralEq for RouteMfcStats
impl StructuralPartialEq for RouteMfcStats
Auto Trait Implementations§
impl RefUnwindSafe for RouteMfcStats
impl Send for RouteMfcStats
impl Sync for RouteMfcStats
impl Unpin for RouteMfcStats
impl UnwindSafe for RouteMfcStats
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