Struct netlink_packet_route::rtnl::neighbour_table::nlas::Stats
source · #[non_exhaustive]pub struct Stats {
pub allocs: u64,
pub destroys: u64,
pub hash_grows: u64,
pub res_failed: u64,
pub lookups: u64,
pub hits: u64,
pub multicast_probes_received: u64,
pub unicast_probes_received: u64,
pub periodic_gc_runs: u64,
pub forced_gc_runs: 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.allocs: u64
§destroys: u64
§hash_grows: u64
§res_failed: u64
§lookups: u64
§hits: u64
§multicast_probes_received: u64
§unicast_probes_received: u64
§periodic_gc_runs: u64
§forced_gc_runs: u64
Trait Implementations§
source§impl<T: AsRef<[u8]>> Parseable<StatsBuffer<T>> for Stats
impl<T: AsRef<[u8]>> Parseable<StatsBuffer<T>> for Stats
source§fn parse(buf: &StatsBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &StatsBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq<Stats> for Stats
impl PartialEq<Stats> for Stats
impl Copy for Stats
impl Eq for Stats
impl StructuralEq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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