Enum nmstate::Ipv6AddrGenMode
source · pub enum Ipv6AddrGenMode {
Eui64,
StablePrivacy,
Other(String),
}
Expand description
IPv6 address generation mode
Variants§
Eui64
EUI-64 format defined by RFC 4862
Serialize and deserialize to/from eui64
.
StablePrivacy
Semantically Opaque Interface Identifiers defined by RFC 7217
Serialize and deserialize to/from stable-privacy
.
Other(String)
Backend specific
Trait Implementations§
source§impl Clone for Ipv6AddrGenMode
impl Clone for Ipv6AddrGenMode
source§fn clone(&self) -> Ipv6AddrGenMode
fn clone(&self) -> Ipv6AddrGenMode
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 Ipv6AddrGenMode
impl Debug for Ipv6AddrGenMode
source§impl<'de> Deserialize<'de> for Ipv6AddrGenMode
impl<'de> Deserialize<'de> for Ipv6AddrGenMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for Ipv6AddrGenMode
impl Display for Ipv6AddrGenMode
source§impl PartialEq for Ipv6AddrGenMode
impl PartialEq for Ipv6AddrGenMode
source§fn eq(&self, other: &Ipv6AddrGenMode) -> bool
fn eq(&self, other: &Ipv6AddrGenMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Ipv6AddrGenMode
impl Serialize for Ipv6AddrGenMode
impl Eq for Ipv6AddrGenMode
impl StructuralPartialEq for Ipv6AddrGenMode
Auto Trait Implementations§
impl Freeze for Ipv6AddrGenMode
impl RefUnwindSafe for Ipv6AddrGenMode
impl Send for Ipv6AddrGenMode
impl Sync for Ipv6AddrGenMode
impl Unpin for Ipv6AddrGenMode
impl UnwindSafe for Ipv6AddrGenMode
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.