Struct netlink_packet_route::link::Icmp6Stats
source · #[non_exhaustive]pub struct Icmp6Stats {
pub num: i64,
pub in_msgs: i64,
pub in_errors: i64,
pub out_msgs: i64,
pub out_errors: i64,
pub csum_errors: i64,
}
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.num: i64
§in_msgs: i64
§in_errors: i64
§out_msgs: i64
§out_errors: i64
§csum_errors: i64
Trait Implementations§
source§impl Clone for Icmp6Stats
impl Clone for Icmp6Stats
source§fn clone(&self) -> Icmp6Stats
fn clone(&self) -> Icmp6Stats
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 Icmp6Stats
impl Debug for Icmp6Stats
source§impl Emitable for Icmp6Stats
impl Emitable for Icmp6Stats
source§impl<T: AsRef<[u8]>> Parseable<Icmp6StatsBuffer<T>> for Icmp6Stats
impl<T: AsRef<[u8]>> Parseable<Icmp6StatsBuffer<T>> for Icmp6Stats
source§fn parse(buf: &Icmp6StatsBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &Icmp6StatsBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq for Icmp6Stats
impl PartialEq for Icmp6Stats
source§fn eq(&self, other: &Icmp6Stats) -> bool
fn eq(&self, other: &Icmp6Stats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Icmp6Stats
impl Eq for Icmp6Stats
impl StructuralEq for Icmp6Stats
impl StructuralPartialEq for Icmp6Stats
Auto Trait Implementations§
impl RefUnwindSafe for Icmp6Stats
impl Send for Icmp6Stats
impl Sync for Icmp6Stats
impl Unpin for Icmp6Stats
impl UnwindSafe for Icmp6Stats
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