Enum nmstate::LldpPortIdType
source · #[repr(u8)]pub enum LldpPortIdType {
Reserved = 0,
InterfaceAlias = 1,
PortComponent = 2,
MacAddress = 3,
NetworkAddress = 4,
InterfaceName = 5,
AgentCircuitId = 6,
LocallyAssigned = 7,
}
Variants§
Reserved = 0
InterfaceAlias = 1
PortComponent = 2
MacAddress = 3
NetworkAddress = 4
InterfaceName = 5
AgentCircuitId = 6
LocallyAssigned = 7
Trait Implementations§
source§impl Clone for LldpPortIdType
impl Clone for LldpPortIdType
source§fn clone(&self) -> LldpPortIdType
fn clone(&self) -> LldpPortIdType
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 LldpPortIdType
impl Debug for LldpPortIdType
source§impl Default for LldpPortIdType
impl Default for LldpPortIdType
source§impl From<LldpPortIdType> for String
impl From<LldpPortIdType> for String
source§fn from(v: LldpPortIdType) -> String
fn from(v: LldpPortIdType) -> String
Converts to this type from the input type.
source§impl From<LldpPortIdType> for u8
impl From<LldpPortIdType> for u8
source§fn from(value: LldpPortIdType) -> Self
fn from(value: LldpPortIdType) -> Self
Converts to this type from the input type.
source§impl From<u8> for LldpPortIdType
impl From<u8> for LldpPortIdType
source§fn from(v: u8) -> LldpPortIdType
fn from(v: u8) -> LldpPortIdType
Converts to this type from the input type.
source§impl PartialEq for LldpPortIdType
impl PartialEq for LldpPortIdType
source§fn eq(&self, other: &LldpPortIdType) -> bool
fn eq(&self, other: &LldpPortIdType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LldpPortIdType
impl Serialize for LldpPortIdType
impl Eq for LldpPortIdType
impl StructuralPartialEq for LldpPortIdType
Auto Trait Implementations§
impl Freeze for LldpPortIdType
impl RefUnwindSafe for LldpPortIdType
impl Send for LldpPortIdType
impl Sync for LldpPortIdType
impl Unpin for LldpPortIdType
impl UnwindSafe for LldpPortIdType
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.