pub enum EspNowError {
Error(Error),
SendFailed,
DuplicateInstance,
Initialization(WifiError),
}Available on crate feature
unstable only.Expand description
Common errors that can occur while using ESP-NOW driver.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Variants§
Error(Error)
Internal Error.
SendFailed
Failed to send an ESP-NOW message.
DuplicateInstance
Attempt to create EspNow instance twice.
Initialization(WifiError)
Initialization error
Trait Implementations§
Source§impl Debug for EspNowError
impl Debug for EspNowError
Source§impl Display for EspNowError
impl Display for EspNowError
Source§impl Error for EspNowError
impl Error for EspNowError
1.30.0§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl Format for EspNowError
impl Format for EspNowError
Auto Trait Implementations§
impl Freeze for EspNowError
impl RefUnwindSafe for EspNowError
impl Send for EspNowError
impl Sync for EspNowError
impl Unpin for EspNowError
impl UnwindSafe for EspNowError
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