#[non_exhaustive]pub enum Ip6TunnelFlag {
IgnEncapLimit,
UseOrigTclass,
UseOrigFlowlabel,
Mip6Dev,
RcvDscpCopy,
UseOrigFwMark,
AllowLocalRemote,
CapXmit,
CapRcv,
CapPerPacket,
}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.
IgnEncapLimit
UseOrigTclass
UseOrigFlowlabel
Mip6Dev
RcvDscpCopy
UseOrigFwMark
AllowLocalRemote
CapXmit
CapRcv
CapPerPacket
Trait Implementations§
Source§impl Clone for Ip6TunnelFlag
impl Clone for Ip6TunnelFlag
Source§fn clone(&self) -> Ip6TunnelFlag
fn clone(&self) -> Ip6TunnelFlag
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 Ip6TunnelFlag
impl Debug for Ip6TunnelFlag
Source§impl<'de> Deserialize<'de> for Ip6TunnelFlag
impl<'de> Deserialize<'de> for Ip6TunnelFlag
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 Ord for Ip6TunnelFlag
impl Ord for Ip6TunnelFlag
Source§fn cmp(&self, other: &Ip6TunnelFlag) -> Ordering
fn cmp(&self, other: &Ip6TunnelFlag) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Ip6TunnelFlag
impl PartialEq for Ip6TunnelFlag
Source§impl PartialOrd for Ip6TunnelFlag
impl PartialOrd for Ip6TunnelFlag
Source§impl Serialize for Ip6TunnelFlag
impl Serialize for Ip6TunnelFlag
Source§impl TryFrom<Ip6TunnelFlag> for Ip6TunnelFlag
impl TryFrom<Ip6TunnelFlag> for Ip6TunnelFlag
Source§type Error = NmstateError
type Error = NmstateError
The type returned in the event of a conversion error.
Source§fn try_from(flag: Ip6TunnelFlag) -> Result<Self, NmstateError>
fn try_from(flag: Ip6TunnelFlag) -> Result<Self, NmstateError>
Performs the conversion.
impl Copy for Ip6TunnelFlag
impl Eq for Ip6TunnelFlag
impl StructuralPartialEq for Ip6TunnelFlag
Auto Trait Implementations§
impl Freeze for Ip6TunnelFlag
impl RefUnwindSafe for Ip6TunnelFlag
impl Send for Ip6TunnelFlag
impl Sync for Ip6TunnelFlag
impl Unpin for Ip6TunnelFlag
impl UnsafeUnpin for Ip6TunnelFlag
impl UnwindSafe for Ip6TunnelFlag
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.