Enum nmstate::OvsBridgeBondMode
source · #[non_exhaustive]
pub enum OvsBridgeBondMode {
ActiveBackup,
BalanceSlb,
BalanceTcp,
Lacp,
}
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.
ActiveBackup
Deserialize and serialize from/to active-backup
.
BalanceSlb
Deserialize and serialize from/to balance-slb
.
BalanceTcp
Deserialize and serialize from/to balance-tcp
.
Lacp
Deserialize and serialize from/to lacp
.
Trait Implementations§
source§impl Clone for OvsBridgeBondMode
impl Clone for OvsBridgeBondMode
source§fn clone(&self) -> OvsBridgeBondMode
fn clone(&self) -> OvsBridgeBondMode
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 OvsBridgeBondMode
impl Debug for OvsBridgeBondMode
source§impl Default for OvsBridgeBondMode
impl Default for OvsBridgeBondMode
source§impl<'de> Deserialize<'de> for OvsBridgeBondMode
impl<'de> Deserialize<'de> for OvsBridgeBondMode
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 OvsBridgeBondMode
impl Display for OvsBridgeBondMode
source§impl PartialEq<OvsBridgeBondMode> for OvsBridgeBondMode
impl PartialEq<OvsBridgeBondMode> for OvsBridgeBondMode
source§fn eq(&self, other: &OvsBridgeBondMode) -> bool
fn eq(&self, other: &OvsBridgeBondMode) -> bool
source§impl Serialize for OvsBridgeBondMode
impl Serialize for OvsBridgeBondMode
source§impl TryFrom<&str> for OvsBridgeBondMode
impl TryFrom<&str> for OvsBridgeBondMode
impl Eq for OvsBridgeBondMode
impl StructuralEq for OvsBridgeBondMode
impl StructuralPartialEq for OvsBridgeBondMode
Auto Trait Implementations§
impl RefUnwindSafe for OvsBridgeBondMode
impl Send for OvsBridgeBondMode
impl Sync for OvsBridgeBondMode
impl Unpin for OvsBridgeBondMode
impl UnwindSafe for OvsBridgeBondMode
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.