[−][src]Enum radio_sx128x::Error
Sx128x error type
Variants
Comms(CommsError)
Communications (SPI or UART) error
Pin(PinError)
Pin control error
Aborted
Transaction aborted
Timeout
Timeout by device
InvalidCrc
CRC error on received message
InvalidDevice(u16)
Radio returned an invalid device firmware version
InvalidResponse(u8)
Radio returned an invalid response
Trait Implementations
impl<CommsError: PartialEq, PinError: PartialEq> PartialEq<Error<CommsError, PinError>> for Error<CommsError, PinError>
[src]
fn eq(&self, other: &Error<CommsError, PinError>) -> bool
[src]
fn ne(&self, other: &Error<CommsError, PinError>) -> bool
[src]
impl<CommsError: Debug, PinError: Debug> Debug for Error<CommsError, PinError>
[src]
impl<CommsError, PinError> From<Error<CommsError, PinError>> for Error<CommsError, PinError>
[src]
impl<CommsError: Clone, PinError: Clone> Clone for Error<CommsError, PinError>
[src]
Auto Trait Implementations
impl<CommsError, PinError> Send for Error<CommsError, PinError> where
CommsError: Send,
PinError: Send,
CommsError: Send,
PinError: Send,
impl<CommsError, PinError> Sync for Error<CommsError, PinError> where
CommsError: Sync,
PinError: Sync,
CommsError: Sync,
PinError: Sync,
impl<CommsError, PinError> Unpin for Error<CommsError, PinError> where
CommsError: Unpin,
PinError: Unpin,
CommsError: Unpin,
PinError: Unpin,
impl<CommsError, PinError> UnwindSafe for Error<CommsError, PinError> where
CommsError: UnwindSafe,
PinError: UnwindSafe,
CommsError: UnwindSafe,
PinError: UnwindSafe,
impl<CommsError, PinError> RefUnwindSafe for Error<CommsError, PinError> where
CommsError: RefUnwindSafe,
PinError: RefUnwindSafe,
CommsError: RefUnwindSafe,
PinError: RefUnwindSafe,
Blanket Implementations
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.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,