Enum linux_raw_sys::net::net_device_flags
source · #[repr(u32)]#[non_exhaustive]pub enum net_device_flags {
Show 19 variants
IFF_UP,
IFF_BROADCAST,
IFF_DEBUG,
IFF_LOOPBACK,
IFF_POINTOPOINT,
IFF_NOTRAILERS,
IFF_RUNNING,
IFF_NOARP,
IFF_PROMISC,
IFF_ALLMULTI,
IFF_MASTER,
IFF_SLAVE,
IFF_MULTICAST,
IFF_PORTSEL,
IFF_AUTOMEDIA,
IFF_DYNAMIC,
IFF_LOWER_UP,
IFF_DORMANT,
IFF_ECHO,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
IFF_UP
IFF_BROADCAST
IFF_DEBUG
IFF_LOOPBACK
IFF_POINTOPOINT
IFF_NOTRAILERS
IFF_RUNNING
IFF_NOARP
IFF_PROMISC
IFF_ALLMULTI
IFF_MASTER
IFF_SLAVE
IFF_MULTICAST
IFF_PORTSEL
IFF_AUTOMEDIA
IFF_DYNAMIC
IFF_LOWER_UP
IFF_DORMANT
IFF_ECHO
Trait Implementations§
source§impl Clone for net_device_flags
impl Clone for net_device_flags
source§fn clone(&self) -> net_device_flags
fn clone(&self) -> net_device_flags
Returns a copy 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 net_device_flags
impl Debug for net_device_flags
source§impl Hash for net_device_flags
impl Hash for net_device_flags
source§impl PartialEq<net_device_flags> for net_device_flags
impl PartialEq<net_device_flags> for net_device_flags
source§fn eq(&self, other: &net_device_flags) -> bool
fn eq(&self, other: &net_device_flags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for net_device_flags
impl Eq for net_device_flags
impl StructuralEq for net_device_flags
impl StructuralPartialEq for net_device_flags
Auto Trait Implementations§
impl RefUnwindSafe for net_device_flags
impl Send for net_device_flags
impl Sync for net_device_flags
impl Unpin for net_device_flags
impl UnwindSafe for net_device_flags
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