pub struct NdaCacheinfo {
pub ndm_confirmed: u32,
pub ndm_used: u32,
pub ndm_updated: u32,
pub ndm_refcnt: u32,
}
Expand description
Struct representing ARP cache info
Fields§
§ndm_confirmed: u32
Confirmed
ndm_used: u32
Used
ndm_updated: u32
Updated
ndm_refcnt: u32
Reference count
Trait Implementations§
Source§impl Debug for NdaCacheinfo
impl Debug for NdaCacheinfo
Source§impl<'lifetime> FromBytes<'lifetime> for NdaCacheinfo
impl<'lifetime> FromBytes<'lifetime> 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 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