pub enum Ifa {
Unspec,
Address,
Local,
Label,
Broadcast,
Anycast,
Cacheinfo,
Multicast,
Flags,
UnrecognizedConst(c_ushort),
}
Expand description
Variants§
Implementations§
Trait Implementations§
Source§impl From<Ifa> for RtaTypeWrapper
impl From<Ifa> for RtaTypeWrapper
Source§impl Ord for Ifa
impl Ord for Ifa
Source§impl PartialOrd for Ifa
impl PartialOrd for Ifa
Source§impl Size for Ifa
impl Size for Ifa
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 Ifa
impl Eq for Ifa
impl RtaType for Ifa
impl StructuralPartialEq for Ifa
Auto Trait Implementations§
impl Freeze for Ifa
impl RefUnwindSafe for Ifa
impl Send for Ifa
impl Sync for Ifa
impl Unpin for Ifa
impl UnwindSafe for Ifa
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