Enum esp_wifi::wifi::InternalWifiError
source · #[repr(i32)]pub enum InternalWifiError {
Show 22 variants
EspErrNoMem = 257,
EspErrInvalidArg = 258,
EspErrWifiNotInit = 12_289,
EspErrWifiNotStarted = 12_290,
EspErrWifiNotStopped = 12_291,
EspErrWifiIf = 12_292,
EspErrWifiMode = 12_293,
EspErrWifiState = 12_294,
EspErrWifiConn = 12_295,
EspErrWifiNvs = 12_296,
EspErrWifiMac = 12_297,
EspErrWifiSsid = 12_298,
EspErrWifiPassword = 12_299,
EspErrWifiTimeout = 12_300,
EspErrWifiWakeFail = 12_301,
EspErrWifiWouldBlock = 12_302,
EspErrWifiNotConnect = 12_303,
EspErrWifiPost = 12_306,
EspErrWifiInitState = 12_307,
EspErrWifiStopState = 12_308,
EspErrWifiNotAssoc = 12_309,
EspErrWifiTxDisallow = 12_310,
}
Expand description
Error originating from the underlying drivers
Variants§
EspErrNoMem = 257
Out of memory
EspErrInvalidArg = 258
Invalid argument
EspErrWifiNotInit = 12_289
WiFi driver was not installed by esp_wifi_init
EspErrWifiNotStarted = 12_290
WiFi driver was not started by esp_wifi_start
EspErrWifiNotStopped = 12_291
WiFi driver was not stopped by esp_wifi_stop
EspErrWifiIf = 12_292
WiFi interface error
EspErrWifiMode = 12_293
WiFi mode error
EspErrWifiState = 12_294
WiFi internal state error
EspErrWifiConn = 12_295
WiFi internal control block of station or soft-AP error
EspErrWifiNvs = 12_296
WiFi internal NVS module error
EspErrWifiMac = 12_297
MAC address is invalid
EspErrWifiSsid = 12_298
SSID is invalid
EspErrWifiPassword = 12_299
Password is invalid
EspErrWifiTimeout = 12_300
Timeout error
EspErrWifiWakeFail = 12_301
WiFi is in sleep state(RF closed) and wakeup fail
EspErrWifiWouldBlock = 12_302
The caller would block
EspErrWifiNotConnect = 12_303
Station still in disconnect status
EspErrWifiPost = 12_306
Failed to post the event to WiFi task
EspErrWifiInitState = 12_307
Invalid WiFi state when init/deinit is called
EspErrWifiStopState = 12_308
Returned when WiFi is stopping
EspErrWifiNotAssoc = 12_309
The WiFi connection is not associated
EspErrWifiTxDisallow = 12_310
The WiFi TX is disallowed
Trait Implementations§
source§impl Clone for InternalWifiError
impl Clone for InternalWifiError
source§fn clone(&self) -> InternalWifiError
fn clone(&self) -> InternalWifiError
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InternalWifiError
impl Debug for InternalWifiError
source§impl FromPrimitive for InternalWifiError
impl FromPrimitive for InternalWifiError
source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§impl PartialEq for InternalWifiError
impl PartialEq for InternalWifiError
impl Copy for InternalWifiError
impl Eq for InternalWifiError
impl StructuralPartialEq for InternalWifiError
Auto Trait Implementations§
impl Freeze for InternalWifiError
impl RefUnwindSafe for InternalWifiError
impl Send for InternalWifiError
impl Sync for InternalWifiError
impl Unpin for InternalWifiError
impl UnwindSafe for InternalWifiError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)