#[non_exhaustive]#[repr(u32)]pub enum _bindgen_ty_35 {
IFLA_VF_LINK_STATE_AUTO = 0,
IFLA_VF_LINK_STATE_ENABLE = 1,
IFLA_VF_LINK_STATE_DISABLE = 2,
__IFLA_VF_LINK_STATE_MAX = 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.
IFLA_VF_LINK_STATE_AUTO = 0
IFLA_VF_LINK_STATE_ENABLE = 1
IFLA_VF_LINK_STATE_DISABLE = 2
__IFLA_VF_LINK_STATE_MAX = 3
Trait Implementations§
Source§impl Clone for _bindgen_ty_35
impl Clone for _bindgen_ty_35
Source§fn clone(&self) -> _bindgen_ty_35
fn clone(&self) -> _bindgen_ty_35
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_35
impl Debug for _bindgen_ty_35
Source§impl Hash for _bindgen_ty_35
impl Hash for _bindgen_ty_35
Source§impl PartialEq for _bindgen_ty_35
impl PartialEq for _bindgen_ty_35
impl Copy for _bindgen_ty_35
impl Eq for _bindgen_ty_35
impl StructuralPartialEq for _bindgen_ty_35
Auto Trait Implementations§
impl Freeze for _bindgen_ty_35
impl RefUnwindSafe for _bindgen_ty_35
impl Send for _bindgen_ty_35
impl Sync for _bindgen_ty_35
impl Unpin for _bindgen_ty_35
impl UnwindSafe for _bindgen_ty_35
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