Struct neli::rtnl::NdaCacheinfo

source ·
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§

Formats the value using the given formatter. Read more
Takes a byte buffer and returns the deserialized data structure.
Strip padding from a netlink message.
Size of the unpadded data structure. This will usually only be unaligned for variable length types like strings or byte buffers.
Get the size of of the payload and align it to the required netlink byte alignment.
Takes a byte buffer and serializes the data structure into it.
Pad a netlink message to the appropriate alignment.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.