Struct netlink_packet_route::route::RouteCacheInfo
source · #[non_exhaustive]pub struct RouteCacheInfo {
pub clntref: u32,
pub last_use: u32,
pub expires: u32,
pub error: u32,
pub used: u32,
pub id: u32,
pub ts: u32,
pub ts_age: u32,
}
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.clntref: u32
§last_use: u32
§expires: u32
§error: u32
§used: u32
§id: u32
§ts: u32
§ts_age: u32
Trait Implementations§
source§impl Clone for RouteCacheInfo
impl Clone for RouteCacheInfo
source§fn clone(&self) -> RouteCacheInfo
fn clone(&self) -> RouteCacheInfo
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 RouteCacheInfo
impl Debug for RouteCacheInfo
source§impl Emitable for RouteCacheInfo
impl Emitable for RouteCacheInfo
source§impl<T: AsRef<[u8]>> Parseable<RouteCacheInfoBuffer<T>> for RouteCacheInfo
impl<T: AsRef<[u8]>> Parseable<RouteCacheInfoBuffer<T>> for RouteCacheInfo
source§fn parse(buf: &RouteCacheInfoBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &RouteCacheInfoBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq for RouteCacheInfo
impl PartialEq for RouteCacheInfo
source§fn eq(&self, other: &RouteCacheInfo) -> bool
fn eq(&self, other: &RouteCacheInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RouteCacheInfo
impl Eq for RouteCacheInfo
impl StructuralEq for RouteCacheInfo
impl StructuralPartialEq for RouteCacheInfo
Auto Trait Implementations§
impl RefUnwindSafe for RouteCacheInfo
impl Send for RouteCacheInfo
impl Sync for RouteCacheInfo
impl Unpin for RouteCacheInfo
impl UnwindSafe for RouteCacheInfo
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