Enum netlink_packet_route::address::AddressFlag
source · #[non_exhaustive]pub enum AddressFlag {
Show 13 variants
Secondary,
Nodad,
Optimistic,
Dadfailed,
Homeaddress,
Deprecated,
Tentative,
Permanent,
Managetempaddr,
Noprefixroute,
Mcautojoin,
StablePrivacy,
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.
Secondary
Nodad
Optimistic
Dadfailed
Homeaddress
Deprecated
Tentative
Permanent
Managetempaddr
Noprefixroute
Mcautojoin
StablePrivacy
Other(u32)
Trait Implementations§
source§impl Clone for AddressFlag
impl Clone for AddressFlag
source§fn clone(&self) -> AddressFlag
fn clone(&self) -> AddressFlag
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 AddressFlag
impl Debug for AddressFlag
source§impl From<AddressFlag> for u32
impl From<AddressFlag> for u32
source§fn from(v: AddressFlag) -> u32
fn from(v: AddressFlag) -> u32
Converts to this type from the input type.
source§impl From<u32> for AddressFlag
impl From<u32> for AddressFlag
source§impl PartialEq for AddressFlag
impl PartialEq for AddressFlag
source§fn eq(&self, other: &AddressFlag) -> bool
fn eq(&self, other: &AddressFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AddressFlag
impl Eq for AddressFlag
impl StructuralPartialEq for AddressFlag
Auto Trait Implementations§
impl RefUnwindSafe for AddressFlag
impl Send for AddressFlag
impl Sync for AddressFlag
impl Unpin for AddressFlag
impl UnwindSafe for AddressFlag
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