#[non_exhaustive]pub enum RouteNextHopFlag {
Dead,
Pervasive,
Onlink,
Offload,
Linkdown,
Unresolved,
Trap,
Other(u8),
}
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.
Trait Implementations§
source§impl Clone for RouteNextHopFlag
impl Clone for RouteNextHopFlag
source§fn clone(&self) -> RouteNextHopFlag
fn clone(&self) -> RouteNextHopFlag
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 RouteNextHopFlag
impl Debug for RouteNextHopFlag
source§impl From<RouteNextHopFlag> for u8
impl From<RouteNextHopFlag> for u8
source§fn from(v: RouteNextHopFlag) -> u8
fn from(v: RouteNextHopFlag) -> u8
Converts to this type from the input type.
source§impl PartialEq for RouteNextHopFlag
impl PartialEq for RouteNextHopFlag
source§fn eq(&self, other: &RouteNextHopFlag) -> bool
fn eq(&self, other: &RouteNextHopFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RouteNextHopFlag
impl Eq for RouteNextHopFlag
impl StructuralEq for RouteNextHopFlag
impl StructuralPartialEq for RouteNextHopFlag
Auto Trait Implementations§
impl RefUnwindSafe for RouteNextHopFlag
impl Send for RouteNextHopFlag
impl Sync for RouteNextHopFlag
impl Unpin for RouteNextHopFlag
impl UnwindSafe for RouteNextHopFlag
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