pub struct NdaCacheinfo { /* private fields */ }
Expand description
Struct representing ARP cache info
Implementations§
Source§impl NdaCacheinfo
impl NdaCacheinfo
Sourcepub fn ndm_confirmed(&self) -> &u32
pub fn ndm_confirmed(&self) -> &u32
Confirmed
Sourcepub fn ndm_updated(&self) -> &u32
pub fn ndm_updated(&self) -> &u32
Updated
Sourcepub fn ndm_refcnt(&self) -> &u32
pub fn ndm_refcnt(&self) -> &u32
Reference count
Trait Implementations§
Source§impl Debug for NdaCacheinfo
impl Debug for NdaCacheinfo
Source§impl FromBytes for NdaCacheinfo
impl FromBytes for NdaCacheinfo
Source§impl Size for NdaCacheinfo
impl Size for NdaCacheinfo
Source§fn unpadded_size(&self) -> usize
fn unpadded_size(&self) -> usize
Size of the unpadded data structure. This will usually
only be unaligned for variable length types like
strings or byte buffers.
Source§fn padded_size(&self) -> usize
fn padded_size(&self) -> usize
Get the size of the payload and align it to
the required netlink byte alignment.
Source§impl ToBytes for NdaCacheinfo
impl ToBytes for NdaCacheinfo
Auto Trait Implementations§
impl Freeze for NdaCacheinfo
impl RefUnwindSafe for NdaCacheinfo
impl Send for NdaCacheinfo
impl Sync for NdaCacheinfo
impl Unpin for NdaCacheinfo
impl UnwindSafe for NdaCacheinfo
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