Enum netlink_packet_route::rtnl::link::nlas::MacSecValidation
source · #[non_exhaustive]pub enum MacSecValidation {
Disabled,
Check,
Strict,
Other(u8),
}
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 MacSecValidation
impl Clone for MacSecValidation
source§fn clone(&self) -> MacSecValidation
fn clone(&self) -> MacSecValidation
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 MacSecValidation
impl Debug for MacSecValidation
source§impl From<MacSecValidation> for u8
impl From<MacSecValidation> for u8
source§fn from(d: MacSecValidation) -> Self
fn from(d: MacSecValidation) -> Self
Converts to this type from the input type.
source§impl From<u8> for MacSecValidation
impl From<u8> for MacSecValidation
source§impl PartialEq<MacSecValidation> for MacSecValidation
impl PartialEq<MacSecValidation> for MacSecValidation
source§fn eq(&self, other: &MacSecValidation) -> bool
fn eq(&self, other: &MacSecValidation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MacSecValidation
impl Eq for MacSecValidation
impl StructuralEq for MacSecValidation
impl StructuralPartialEq for MacSecValidation
Auto Trait Implementations§
impl RefUnwindSafe for MacSecValidation
impl Send for MacSecValidation
impl Sync for MacSecValidation
impl Unpin for MacSecValidation
impl UnwindSafe for MacSecValidation
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