#[repr(u8)]pub enum InterfaceKind {
Unknown = 0,
Ethernet = 1,
WiFi = 2,
}Variants§
Trait Implementations§
Source§impl Clone for InterfaceKind
impl Clone for InterfaceKind
Source§fn clone(&self) -> InterfaceKind
fn clone(&self) -> InterfaceKind
Returns a duplicate 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 InterfaceKind
impl Debug for InterfaceKind
Source§impl Default for InterfaceKind
impl Default for InterfaceKind
Source§fn default() -> InterfaceKind
fn default() -> InterfaceKind
Returns the “default value” for a type. Read more
Source§impl PartialEq for InterfaceKind
impl PartialEq for InterfaceKind
impl Copy for InterfaceKind
impl Eq for InterfaceKind
impl StructuralPartialEq for InterfaceKind
Auto Trait Implementations§
impl Freeze for InterfaceKind
impl RefUnwindSafe for InterfaceKind
impl Send for InterfaceKind
impl Sync for InterfaceKind
impl Unpin for InterfaceKind
impl UnwindSafe for InterfaceKind
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