Enum netlink_packet_route::route::RouteFlag
source · #[non_exhaustive]pub enum RouteFlag {
Show 17 variants
Dead,
Pervasive,
Onlink,
Offload,
Linkdown,
Unresolved,
Trap,
Notify,
Cloned,
Equalize,
Prefix,
LookupTable,
FibMatch,
RtOffload,
RtTrap,
OffloadFailed,
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.
Dead
Pervasive
Onlink
Offload
Linkdown
Unresolved
Trap
Notify
Cloned
Equalize
Prefix
LookupTable
FibMatch
RtOffload
RtTrap
OffloadFailed
Other(u32)
Trait Implementations§
source§impl PartialEq for RouteFlag
impl PartialEq for RouteFlag
impl Copy for RouteFlag
impl Eq for RouteFlag
impl StructuralEq for RouteFlag
impl StructuralPartialEq for RouteFlag
Auto Trait Implementations§
impl RefUnwindSafe for RouteFlag
impl Send for RouteFlag
impl Sync for RouteFlag
impl Unpin for RouteFlag
impl UnwindSafe for RouteFlag
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