Enum radio_sx128x::Error [−][src]
Sx128x error type
Variants
Communications (SPI or UART) error
Pin control error
Delay error
Transaction aborted
Timeout by device
Timeout awaiting busy pin de-assert
CRC error on received message
Invalid message length
TODO
TODO
TODO
InvalidDevice(u16)
Radio returned an invalid device firmware version
InvalidResponse(u8)
Radio returned an invalid response
Invalid configuration option provided
Frequency out of range
No SPI communication detected
Trait Implementations
impl<CommsError: Clone + Debug + Sync + Send + 'static, PinError: Clone + Debug + Sync + Send + 'static, DelayError: Clone + Debug + Sync + Send + 'static> Clone for Error<CommsError, PinError, DelayError>
[src]
fn clone(&self) -> Error<CommsError, PinError, DelayError>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<CommsError: Debug + Sync + Send + 'static, PinError: Debug + Sync + Send + 'static, DelayError: Debug + Sync + Send + 'static> Debug for Error<CommsError, PinError, DelayError>
[src]
impl<CommsError: Debug + Sync + Send + 'static, PinError: Debug + Sync + Send + 'static, DelayError: Debug + Sync + Send + 'static> Display for Error<CommsError, PinError, DelayError>
[src]
impl<CommsError: Debug + Sync + Send + 'static, PinError: Debug + Sync + Send + 'static, DelayError: Debug + Sync + Send + 'static> Fail for Error<CommsError, PinError, DelayError>
[src]
fn name(&self) -> Option<&str>
[src]
fn cause(&self) -> Option<&dyn Fail>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
pub fn compat(self) -> Compat<Self>
[src]
impl<CommsError, PinError, DelayError> From<Error<CommsError, PinError, DelayError>> for Error<CommsError, PinError, DelayError> where
CommsError: Debug + Sync + Send + 'static,
PinError: Debug + Sync + Send + 'static,
DelayError: Debug + Sync + Send + 'static,
[src]
CommsError: Debug + Sync + Send + 'static,
PinError: Debug + Sync + Send + 'static,
DelayError: Debug + Sync + Send + 'static,
impl<CommsError: PartialEq + Debug + Sync + Send + 'static, PinError: PartialEq + Debug + Sync + Send + 'static, DelayError: PartialEq + Debug + Sync + Send + 'static> PartialEq<Error<CommsError, PinError, DelayError>> for Error<CommsError, PinError, DelayError>
[src]
fn eq(&self, other: &Error<CommsError, PinError, DelayError>) -> bool
[src]
fn ne(&self, other: &Error<CommsError, PinError, DelayError>) -> bool
[src]
impl<CommsError: Debug + Sync + Send + 'static, PinError: Debug + Sync + Send + 'static, DelayError: Debug + Sync + Send + 'static> StructuralPartialEq for Error<CommsError, PinError, DelayError>
[src]
Auto Trait Implementations
impl<CommsError, PinError, DelayError> RefUnwindSafe for Error<CommsError, PinError, DelayError> where
CommsError: RefUnwindSafe,
DelayError: RefUnwindSafe,
PinError: RefUnwindSafe,
CommsError: RefUnwindSafe,
DelayError: RefUnwindSafe,
PinError: RefUnwindSafe,
impl<CommsError, PinError, DelayError> Send for Error<CommsError, PinError, DelayError>
impl<CommsError, PinError, DelayError> Sync for Error<CommsError, PinError, DelayError>
impl<CommsError, PinError, DelayError> Unpin for Error<CommsError, PinError, DelayError> where
CommsError: Unpin,
DelayError: Unpin,
PinError: Unpin,
CommsError: Unpin,
DelayError: Unpin,
PinError: Unpin,
impl<CommsError, PinError, DelayError> UnwindSafe for Error<CommsError, PinError, DelayError> where
CommsError: UnwindSafe,
DelayError: UnwindSafe,
PinError: UnwindSafe,
CommsError: UnwindSafe,
DelayError: UnwindSafe,
PinError: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,