Enum netlink_packet_route::link::Inet6IfaceFlag
source · #[non_exhaustive]#[repr(u32)]pub enum Inet6IfaceFlag {
Otherconf = 128,
RaManaged = 64,
RaRcvd = 32,
RsSent = 16,
Ready = 2_147_483_648,
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.
Trait Implementations§
source§impl Clone for Inet6IfaceFlag
impl Clone for Inet6IfaceFlag
source§fn clone(&self) -> Inet6IfaceFlag
fn clone(&self) -> Inet6IfaceFlag
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 Inet6IfaceFlag
impl Debug for Inet6IfaceFlag
source§impl Display for Inet6IfaceFlag
impl Display for Inet6IfaceFlag
source§impl From<Inet6IfaceFlag> for u32
impl From<Inet6IfaceFlag> for u32
source§fn from(v: Inet6IfaceFlag) -> u32
fn from(v: Inet6IfaceFlag) -> u32
Converts to this type from the input type.
source§impl From<u32> for Inet6IfaceFlag
impl From<u32> for Inet6IfaceFlag
source§impl PartialEq for Inet6IfaceFlag
impl PartialEq for Inet6IfaceFlag
source§fn eq(&self, other: &Inet6IfaceFlag) -> bool
fn eq(&self, other: &Inet6IfaceFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Inet6IfaceFlag
impl Eq for Inet6IfaceFlag
impl StructuralPartialEq for Inet6IfaceFlag
Auto Trait Implementations§
impl RefUnwindSafe for Inet6IfaceFlag
impl Send for Inet6IfaceFlag
impl Sync for Inet6IfaceFlag
impl Unpin for Inet6IfaceFlag
impl UnwindSafe for Inet6IfaceFlag
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