#[repr(u8)]pub enum InterfaceType {
Unspecified = 0,
WiFi = 1,
Ethernet = 2,
Cellular = 3,
Thread = 4,
}Expand description
§11.12.5.4’s InterfaceTypeEnum.
Variants§
Unspecified = 0
An interface of an unspecified type.
WiFi = 1
Wi-Fi.
Ethernet = 2
Ethernet.
Cellular = 3
Cellular.
Thread = 4
Thread.
Trait Implementations§
Source§impl Clone for InterfaceType
impl Clone for InterfaceType
impl Copy for InterfaceType
Source§impl Debug for InterfaceType
impl Debug for InterfaceType
Source§impl Default for InterfaceType
impl Default for InterfaceType
impl Eq for InterfaceType
Source§impl Hash for InterfaceType
impl Hash for InterfaceType
Source§impl PartialEq for InterfaceType
impl PartialEq for InterfaceType
impl StructuralPartialEq for InterfaceType
Auto Trait Implementations§
impl Forget for InterfaceType
impl Freeze for InterfaceType
impl Move for InterfaceType
impl RefUnwindSafe for InterfaceType
impl Send for InterfaceType
impl Sync for InterfaceType
impl Unpin for InterfaceType
impl UnsafeUnpin for InterfaceType
impl UnwindSafe for InterfaceType
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