#[non_exhaustive]#[repr(u8)]pub enum In6AddrGenMode {
Eui64,
None,
StablePrivacy,
Random,
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 In6AddrGenMode
impl Clone for In6AddrGenMode
Source§fn clone(&self) -> In6AddrGenMode
fn clone(&self) -> In6AddrGenMode
Returns a duplicate 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 In6AddrGenMode
impl Debug for In6AddrGenMode
Source§impl Default for In6AddrGenMode
impl Default for In6AddrGenMode
Source§fn default() -> In6AddrGenMode
fn default() -> In6AddrGenMode
Returns the “default value” for a type. Read more
Source§impl Display for In6AddrGenMode
impl Display for In6AddrGenMode
Source§impl From<&In6AddrGenMode> for u8
impl From<&In6AddrGenMode> for u8
Source§fn from(v: &In6AddrGenMode) -> Self
fn from(v: &In6AddrGenMode) -> Self
Converts to this type from the input type.
Source§impl From<u8> for In6AddrGenMode
impl From<u8> for In6AddrGenMode
Source§impl PartialEq for In6AddrGenMode
impl PartialEq for In6AddrGenMode
impl Copy for In6AddrGenMode
impl Eq for In6AddrGenMode
impl StructuralPartialEq for In6AddrGenMode
Auto Trait Implementations§
impl Freeze for In6AddrGenMode
impl RefUnwindSafe for In6AddrGenMode
impl Send for In6AddrGenMode
impl Sync for In6AddrGenMode
impl Unpin for In6AddrGenMode
impl UnwindSafe for In6AddrGenMode
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