#[repr(C)]pub enum NetDeviceFlags {
Show 19 variants
Up = 1,
Broadcast = 2,
Debug = 4,
Loopback = 8,
Pointopoint = 16,
Notrailers = 32,
Running = 64,
Noarp = 128,
Promisc = 256,
Allmulti = 512,
Master = 1_024,
Slave = 2_048,
Multicast = 4_096,
Portsel = 8_192,
Automedia = 16_384,
Dynamic = 32_768,
LowerUp = 65_536,
Dormant = 131_072,
Echo = 262_144,
}
Variants§
Up = 1
Broadcast = 2
Debug = 4
Loopback = 8
Pointopoint = 16
Notrailers = 32
Running = 64
Noarp = 128
Promisc = 256
Allmulti = 512
Master = 1_024
Slave = 2_048
Multicast = 4_096
Portsel = 8_192
Automedia = 16_384
Dynamic = 32_768
LowerUp = 65_536
Dormant = 131_072
Echo = 262_144
Trait Implementations§
Source§impl Clone for NetDeviceFlags
impl Clone for NetDeviceFlags
Source§fn clone(&self) -> NetDeviceFlags
fn clone(&self) -> NetDeviceFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NetDeviceFlags
impl Debug for NetDeviceFlags
Source§impl Hash for NetDeviceFlags
impl Hash for NetDeviceFlags
Source§impl PartialEq for NetDeviceFlags
impl PartialEq for NetDeviceFlags
impl Copy for NetDeviceFlags
impl Eq for NetDeviceFlags
impl StructuralPartialEq for NetDeviceFlags
Auto Trait Implementations§
impl Freeze for NetDeviceFlags
impl RefUnwindSafe for NetDeviceFlags
impl Send for NetDeviceFlags
impl Sync for NetDeviceFlags
impl Unpin for NetDeviceFlags
impl UnwindSafe for NetDeviceFlags
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