#[non_exhaustive]#[repr(u32)]pub enum _bindgen_ty_57 {
IF_PORT_UNKNOWN = 0,
IF_PORT_10BASE2 = 1,
IF_PORT_10BASET = 2,
IF_PORT_AUI = 3,
IF_PORT_100BASET = 4,
IF_PORT_100BASETX = 5,
IF_PORT_100BASEFX = 6,
}
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.
IF_PORT_UNKNOWN = 0
IF_PORT_10BASE2 = 1
IF_PORT_10BASET = 2
IF_PORT_AUI = 3
IF_PORT_100BASET = 4
IF_PORT_100BASETX = 5
IF_PORT_100BASEFX = 6
Trait Implementations§
Source§impl Clone for _bindgen_ty_57
impl Clone for _bindgen_ty_57
Source§fn clone(&self) -> _bindgen_ty_57
fn clone(&self) -> _bindgen_ty_57
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_57
impl Debug for _bindgen_ty_57
Source§impl Hash for _bindgen_ty_57
impl Hash for _bindgen_ty_57
Source§impl PartialEq for _bindgen_ty_57
impl PartialEq for _bindgen_ty_57
impl Copy for _bindgen_ty_57
impl Eq for _bindgen_ty_57
impl StructuralPartialEq for _bindgen_ty_57
Auto Trait Implementations§
impl Freeze for _bindgen_ty_57
impl RefUnwindSafe for _bindgen_ty_57
impl Send for _bindgen_ty_57
impl Sync for _bindgen_ty_57
impl Unpin for _bindgen_ty_57
impl UnwindSafe for _bindgen_ty_57
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