Enum nmstate::LldpSystemCapability
source · #[non_exhaustive]pub enum LldpSystemCapability {
Other,
Repeater,
MacBridgeComponent,
AccessPoint,
Router,
Telephone,
DocsisCableDevice,
StationOnly,
CVlanComponent,
SVlanComponent,
TwoPortMacRelayComponent,
}
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.
Other
Repeater
MacBridgeComponent
AccessPoint
Router
Telephone
DocsisCableDevice
StationOnly
CVlanComponent
SVlanComponent
TwoPortMacRelayComponent
Trait Implementations§
source§impl Clone for LldpSystemCapability
impl Clone for LldpSystemCapability
source§fn clone(&self) -> LldpSystemCapability
fn clone(&self) -> LldpSystemCapability
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 LldpSystemCapability
impl Debug for LldpSystemCapability
source§impl Default for LldpSystemCapability
impl Default for LldpSystemCapability
source§impl PartialEq for LldpSystemCapability
impl PartialEq for LldpSystemCapability
source§fn eq(&self, other: &LldpSystemCapability) -> bool
fn eq(&self, other: &LldpSystemCapability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LldpSystemCapability
impl Serialize for LldpSystemCapability
impl Eq for LldpSystemCapability
impl StructuralPartialEq for LldpSystemCapability
Auto Trait Implementations§
impl Freeze for LldpSystemCapability
impl RefUnwindSafe for LldpSystemCapability
impl Send for LldpSystemCapability
impl Sync for LldpSystemCapability
impl Unpin for LldpSystemCapability
impl UnwindSafe for LldpSystemCapability
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.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.