#[non_exhaustive]#[repr(u32)]pub enum macsec_validation_type {
MACSEC_VALIDATE_DISABLED = 0,
MACSEC_VALIDATE_CHECK = 1,
MACSEC_VALIDATE_STRICT = 2,
__MACSEC_VALIDATE_END = 3,
}
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.
MACSEC_VALIDATE_DISABLED = 0
MACSEC_VALIDATE_CHECK = 1
MACSEC_VALIDATE_STRICT = 2
__MACSEC_VALIDATE_END = 3
Implementations§
source§impl macsec_validation_type
impl macsec_validation_type
pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT
Trait Implementations§
source§impl Clone for macsec_validation_type
impl Clone for macsec_validation_type
source§fn clone(&self) -> macsec_validation_type
fn clone(&self) -> macsec_validation_type
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 macsec_validation_type
impl Debug for macsec_validation_type
source§impl Hash for macsec_validation_type
impl Hash for macsec_validation_type
source§impl PartialEq for macsec_validation_type
impl PartialEq for macsec_validation_type
source§fn eq(&self, other: &macsec_validation_type) -> bool
fn eq(&self, other: &macsec_validation_type) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for macsec_validation_type
impl Eq for macsec_validation_type
impl StructuralPartialEq for macsec_validation_type
Auto Trait Implementations§
impl Freeze for macsec_validation_type
impl RefUnwindSafe for macsec_validation_type
impl Send for macsec_validation_type
impl Sync for macsec_validation_type
impl Unpin for macsec_validation_type
impl UnwindSafe for macsec_validation_type
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<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)