Enum nmstate::LldpChassisIdType
source · pub enum LldpChassisIdType {
Reserved,
ChassisComponent,
InterfaceAlias,
PortComponent,
MacAddress,
NetworkAddress,
InterfaceName,
LocallyAssigned,
}
Variants§
Reserved
ChassisComponent
InterfaceAlias
PortComponent
MacAddress
NetworkAddress
InterfaceName
LocallyAssigned
Trait Implementations§
source§impl Clone for LldpChassisIdType
impl Clone for LldpChassisIdType
source§fn clone(&self) -> LldpChassisIdType
fn clone(&self) -> LldpChassisIdType
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 LldpChassisIdType
impl Debug for LldpChassisIdType
source§impl Default for LldpChassisIdType
impl Default for LldpChassisIdType
source§impl From<LldpChassisIdType> for u8
impl From<LldpChassisIdType> for u8
source§fn from(v: LldpChassisIdType) -> u8
fn from(v: LldpChassisIdType) -> u8
Converts to this type from the input type.
source§impl From<u8> for LldpChassisIdType
impl From<u8> for LldpChassisIdType
source§impl PartialEq<LldpChassisIdType> for LldpChassisIdType
impl PartialEq<LldpChassisIdType> for LldpChassisIdType
source§fn eq(&self, other: &LldpChassisIdType) -> bool
fn eq(&self, other: &LldpChassisIdType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LldpChassisIdType
impl Serialize for LldpChassisIdType
impl Copy for LldpChassisIdType
impl Eq for LldpChassisIdType
impl StructuralEq for LldpChassisIdType
impl StructuralPartialEq for LldpChassisIdType
Auto Trait Implementations§
impl RefUnwindSafe for LldpChassisIdType
impl Send for LldpChassisIdType
impl Sync for LldpChassisIdType
impl Unpin for LldpChassisIdType
impl UnwindSafe for LldpChassisIdType
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.