[−][src]Struct neli::rtnl::Ndmsg
Represents an ARP (neighbor table) entry
Fields
ndm_family: RtAddrFamily
Address family of entry
ndm_index: c_int
Index of entry
ndm_state: NudFlags
State of entry
ndm_flags: NtfFlags
Flags for entry
ndm_type: Rtn
Type of entry
rtattrs: RtBuffer<Nda, Buffer>
Payload of Rtattr
s
Trait Implementations
impl Debug for Ndmsg
[src]
impl Nl for Ndmsg
[src]
pub fn serialize(&self, mem: SerBuffer<'_>) -> Result<(), SerError>
[src]
pub fn deserialize(mem: DeBuffer<'_>) -> Result<Self, DeError>
[src]
pub fn size(&self) -> usize
[src]
pub fn type_size() -> Option<usize>
[src]
pub fn type_asize() -> Option<usize>
[src]
pub fn asize(&self) -> usize
[src]
pub fn pad(&self, mem: SerBuffer<'_>) -> Result<(), SerError>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Ndmsg
[src]
impl Send for Ndmsg
[src]
impl Sync for Ndmsg
[src]
impl Unpin for Ndmsg
[src]
impl UnwindSafe for Ndmsg
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,