#[non_exhaustive]#[repr(u32)]pub enum _bindgen_ty_46 {
IFLA_OFFLOAD_XSTATS_UNSPEC = 0,
IFLA_OFFLOAD_XSTATS_CPU_HIT = 1,
IFLA_OFFLOAD_XSTATS_HW_S_INFO = 2,
IFLA_OFFLOAD_XSTATS_L3_STATS = 3,
__IFLA_OFFLOAD_XSTATS_MAX = 4,
}
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.
IFLA_OFFLOAD_XSTATS_UNSPEC = 0
IFLA_OFFLOAD_XSTATS_CPU_HIT = 1
IFLA_OFFLOAD_XSTATS_HW_S_INFO = 2
IFLA_OFFLOAD_XSTATS_L3_STATS = 3
__IFLA_OFFLOAD_XSTATS_MAX = 4
Trait Implementations§
Source§impl Clone for _bindgen_ty_46
impl Clone for _bindgen_ty_46
Source§fn clone(&self) -> _bindgen_ty_46
fn clone(&self) -> _bindgen_ty_46
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 _bindgen_ty_46
impl Debug for _bindgen_ty_46
Source§impl Hash for _bindgen_ty_46
impl Hash for _bindgen_ty_46
Source§impl PartialEq for _bindgen_ty_46
impl PartialEq for _bindgen_ty_46
impl Copy for _bindgen_ty_46
impl Eq for _bindgen_ty_46
impl StructuralPartialEq for _bindgen_ty_46
Auto Trait Implementations§
impl Freeze for _bindgen_ty_46
impl RefUnwindSafe for _bindgen_ty_46
impl Send for _bindgen_ty_46
impl Sync for _bindgen_ty_46
impl Unpin for _bindgen_ty_46
impl UnwindSafe for _bindgen_ty_46
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