Enum nmstate::LldpAddressFamily
source · #[non_exhaustive]pub enum LldpAddressFamily {
Unknown,
Ipv4,
Ipv6,
Mac,
}
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.
Trait Implementations§
source§impl Clone for LldpAddressFamily
impl Clone for LldpAddressFamily
source§fn clone(&self) -> LldpAddressFamily
fn clone(&self) -> LldpAddressFamily
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 LldpAddressFamily
impl Debug for LldpAddressFamily
source§impl Default for LldpAddressFamily
impl Default for LldpAddressFamily
source§impl From<u16> for LldpAddressFamily
impl From<u16> for LldpAddressFamily
source§impl PartialEq for LldpAddressFamily
impl PartialEq for LldpAddressFamily
source§fn eq(&self, other: &LldpAddressFamily) -> bool
fn eq(&self, other: &LldpAddressFamily) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LldpAddressFamily
impl Serialize for LldpAddressFamily
impl Eq for LldpAddressFamily
impl StructuralPartialEq for LldpAddressFamily
Auto Trait Implementations§
impl Freeze for LldpAddressFamily
impl RefUnwindSafe for LldpAddressFamily
impl Send for LldpAddressFamily
impl Sync for LldpAddressFamily
impl Unpin for LldpAddressFamily
impl UnwindSafe for LldpAddressFamily
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.