pub enum Iff {
Show 20 variants
Up,
Broadcast,
Debug,
Loopback,
Pointopoint,
Running,
Noarp,
Promisc,
Notrailers,
Allmulti,
Master,
Slave,
Multicast,
Portsel,
Automedia,
Dynamic,
LowerUp,
Dormant,
Echo,
UnrecognizedConst(c_uint),
}
Expand description
Values for ifi_flags
in
Ifinfomsg
.
Variants§
Up
Broadcast
Debug
Loopback
Pointopoint
Running
Noarp
Promisc
Notrailers
Allmulti
Master
Slave
Multicast
Portsel
Automedia
Dynamic
LowerUp
Dormant
Echo
UnrecognizedConst(c_uint)
Implementations§
Trait Implementations§
Source§impl Ord for Iff
impl Ord for Iff
Source§impl PartialOrd for Iff
impl PartialOrd for Iff
Source§impl Size for Iff
impl Size for Iff
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 Iff
impl Eq for Iff
impl StructuralPartialEq for Iff
Auto Trait Implementations§
impl Freeze for Iff
impl RefUnwindSafe for Iff
impl Send for Iff
impl Sync for Iff
impl Unpin for Iff
impl UnwindSafe for Iff
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