#[repr(u8)]pub enum InterfaceType {
Invalid = 0,
Sta = 1,
Ap = 2,
Serial = 3,
Hci = 4,
Priv = 5,
Test = 6,
Eth = 7,
Max = 8,
}
Expand description
See ESP-Hosted-MCU readme, section 7.2 /// official enum
Variants§
Trait Implementations§
Source§impl Clone for InterfaceType
impl Clone for InterfaceType
Source§fn clone(&self) -> InterfaceType
fn clone(&self) -> InterfaceType
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 Format for InterfaceType
impl Format for InterfaceType
Source§impl PartialEq for InterfaceType
impl PartialEq for InterfaceType
Source§impl TryFrom<u8> for InterfaceType
impl TryFrom<u8> for InterfaceType
Source§type Error = TryFromPrimitiveError<InterfaceType>
type Error = TryFromPrimitiveError<InterfaceType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for InterfaceType
impl TryFromPrimitive for InterfaceType
const NAME: &'static str = "InterfaceType"
type Primitive = u8
type Error = TryFromPrimitiveError<InterfaceType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for InterfaceType
impl StructuralPartialEq for InterfaceType
Auto Trait Implementations§
impl Freeze for InterfaceType
impl RefUnwindSafe for InterfaceType
impl Send for InterfaceType
impl Sync for InterfaceType
impl Unpin 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