pub enum IflaInfo {
Unspec,
Kind,
Data,
Xstats,
SlaveKind,
SlaveData,
UnrecognizedConst(c_ushort),
}
Expand description
Enum usable with Rtattr
field,
rta_type
.
Values are nested attributes to IFLA_LINKMODE.
Variants§
Implementations§
Trait Implementations§
Source§impl From<IflaInfo> for RtaTypeWrapper
impl From<IflaInfo> for RtaTypeWrapper
Source§impl Ord for IflaInfo
impl Ord for IflaInfo
Source§impl PartialOrd for IflaInfo
impl PartialOrd for IflaInfo
Source§impl Size for IflaInfo
impl Size for IflaInfo
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 IflaInfo
impl Eq for IflaInfo
impl RtaType for IflaInfo
impl StructuralPartialEq for IflaInfo
Auto Trait Implementations§
impl Freeze for IflaInfo
impl RefUnwindSafe for IflaInfo
impl Send for IflaInfo
impl Sync for IflaInfo
impl Unpin for IflaInfo
impl UnwindSafe for IflaInfo
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