Enum linux_raw_sys::netlink::macsec_offload
source · #[non_exhaustive]#[repr(u32)]pub enum macsec_offload {
MACSEC_OFFLOAD_OFF = 0,
MACSEC_OFFLOAD_PHY = 1,
MACSEC_OFFLOAD_MAC = 2,
__MACSEC_OFFLOAD_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.
Implementations§
source§impl macsec_offload
impl macsec_offload
pub const MACSEC_OFFLOAD_MAX: macsec_offload = macsec_offload::MACSEC_OFFLOAD_MAC
Trait Implementations§
source§impl Clone for macsec_offload
impl Clone for macsec_offload
source§fn clone(&self) -> macsec_offload
fn clone(&self) -> macsec_offload
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_offload
impl Debug for macsec_offload
source§impl Hash for macsec_offload
impl Hash for macsec_offload
source§impl PartialEq for macsec_offload
impl PartialEq for macsec_offload
source§fn eq(&self, other: &macsec_offload) -> bool
fn eq(&self, other: &macsec_offload) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for macsec_offload
impl Eq for macsec_offload
impl StructuralPartialEq for macsec_offload
Auto Trait Implementations§
impl Freeze for macsec_offload
impl RefUnwindSafe for macsec_offload
impl Send for macsec_offload
impl Sync for macsec_offload
impl Unpin for macsec_offload
impl UnwindSafe for macsec_offload
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