Enum radio::nonblocking::AsyncError
source · pub enum AsyncError<E> {
Inner(E),
Timeout,
}
Expand description
AsyncError wraps radio errors and provides notification of timeouts
Variants§
Trait Implementations§
source§impl<E: Clone> Clone for AsyncError<E>
impl<E: Clone> Clone for AsyncError<E>
source§fn clone(&self) -> AsyncError<E>
fn clone(&self) -> AsyncError<E>
Returns a copy 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<E: Debug> Debug for AsyncError<E>
impl<E: Debug> Debug for AsyncError<E>
source§impl<E> From<E> for AsyncError<E>
impl<E> From<E> for AsyncError<E>
source§impl<E: PartialEq> PartialEq for AsyncError<E>
impl<E: PartialEq> PartialEq for AsyncError<E>
source§fn eq(&self, other: &AsyncError<E>) -> bool
fn eq(&self, other: &AsyncError<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<E> StructuralPartialEq for AsyncError<E>
Auto Trait Implementations§
impl<E> Freeze for AsyncError<E>where
E: Freeze,
impl<E> RefUnwindSafe for AsyncError<E>where
E: RefUnwindSafe,
impl<E> Send for AsyncError<E>where
E: Send,
impl<E> Sync for AsyncError<E>where
E: Sync,
impl<E> Unpin for AsyncError<E>where
E: Unpin,
impl<E> UnwindSafe for AsyncError<E>where
E: UnwindSafe,
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