Enum netlink_packet_route::link::LinkFlag
source · #[non_exhaustive]pub enum LinkFlag {
Show 20 variants
Up,
Broadcast,
Debug,
Loopback,
Pointopoint,
Notrailers,
Running,
Noarp,
Promisc,
Allmulti,
Controller,
Port,
Multicast,
Portsel,
Automedia,
Dynamic,
LowerUp,
Dormant,
Echo,
Other(u32),
}
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.
Up
Broadcast
Debug
Loopback
Pointopoint
Notrailers
Running
Noarp
Promisc
Allmulti
Controller
Port
Multicast
Portsel
Automedia
Dynamic
LowerUp
Dormant
Echo
Other(u32)
Trait Implementations§
source§impl PartialEq for LinkFlag
impl PartialEq for LinkFlag
impl Copy for LinkFlag
impl Eq for LinkFlag
impl StructuralPartialEq for LinkFlag
Auto Trait Implementations§
impl RefUnwindSafe for LinkFlag
impl Send for LinkFlag
impl Sync for LinkFlag
impl Unpin for LinkFlag
impl UnwindSafe for LinkFlag
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