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