pub enum Nda {
Show 13 variants
Unspec,
Dst,
Lladdr,
Cacheinfo,
Probes,
Vlan,
Port,
Vni,
Ifindex,
Master,
LinkNetnsid,
SrcVni,
UnrecognizedConst(c_ushort),
}
Expand description
Enum usable with Rtattr
field,
rta_type
.
Values specify neighbor table attributes
Variants§
Unspec
Dst
Lladdr
Cacheinfo
Probes
Vlan
Port
Vni
Ifindex
Master
LinkNetnsid
SrcVni
UnrecognizedConst(c_ushort)
Implementations§
Trait Implementations§
Source§impl From<Nda> for RtaTypeWrapper
impl From<Nda> for RtaTypeWrapper
Source§impl Ord for Nda
impl Ord for Nda
Source§impl PartialOrd for Nda
impl PartialOrd for Nda
Source§impl Size for Nda
impl Size for Nda
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.
impl Copy for Nda
impl Eq for Nda
impl RtaType for Nda
impl StructuralPartialEq for Nda
Auto Trait Implementations§
impl Freeze for Nda
impl RefUnwindSafe for Nda
impl Send for Nda
impl Sync for Nda
impl Unpin for Nda
impl UnwindSafe for Nda
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