Enum nmstate::LldpNeighborTlv
source · #[non_exhaustive]pub enum LldpNeighborTlv {
SystemName(LldpSystemName),
SystemDescription(LldpSystemDescription),
SystemCapabilities(LldpSystemCapabilities),
ChassisId(LldpChassisId),
PortId(LldpPortId),
Ieee8021Vlans(LldpVlans),
Ieee8023MacPhyConf(LldpMacPhy),
Ieee8021Ppvids(LldpPpvids),
ManagementAddresses(LldpMgmtAddrs),
Ieee8023MaxFrameSize(LldpMaxFrameSize),
}
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.
SystemName(LldpSystemName)
SystemDescription(LldpSystemDescription)
SystemCapabilities(LldpSystemCapabilities)
ChassisId(LldpChassisId)
PortId(LldpPortId)
Ieee8021Vlans(LldpVlans)
Ieee8023MacPhyConf(LldpMacPhy)
Ieee8021Ppvids(LldpPpvids)
ManagementAddresses(LldpMgmtAddrs)
Ieee8023MaxFrameSize(LldpMaxFrameSize)
Trait Implementations§
source§impl Clone for LldpNeighborTlv
impl Clone for LldpNeighborTlv
source§fn clone(&self) -> LldpNeighborTlv
fn clone(&self) -> LldpNeighborTlv
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 LldpNeighborTlv
impl Debug for LldpNeighborTlv
source§impl PartialEq for LldpNeighborTlv
impl PartialEq for LldpNeighborTlv
source§fn eq(&self, other: &LldpNeighborTlv) -> bool
fn eq(&self, other: &LldpNeighborTlv) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LldpNeighborTlv
impl Serialize for LldpNeighborTlv
impl Eq for LldpNeighborTlv
impl StructuralPartialEq for LldpNeighborTlv
Auto Trait Implementations§
impl Freeze for LldpNeighborTlv
impl RefUnwindSafe for LldpNeighborTlv
impl Send for LldpNeighborTlv
impl Sync for LldpNeighborTlv
impl Unpin for LldpNeighborTlv
impl UnwindSafe for LldpNeighborTlv
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.