[−][src]Enum radio_sx127x::Error
Sx127x error type
Variants
Comms(CommsError)
Communications (SPI or UART) error
Pin(PinError)
Pin control error
InvalidConfiguration
Invalid configuration
Aborted
Transaction aborted
InvalidResponse
Invalid response from device
Timeout
Timeout while awaiting operation completion
Crc
incoming packet CRC error
BufferSize
Received packet exceeds buffer size
InvalidDevice(u8)
Invalid or unrecognised device
Trait Implementations
impl<CommsError: Debug, PinError: Debug> Debug for Error<CommsError, PinError>
[src]
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, 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> Unpin for Error<CommsError, PinError> where
CommsError: Unpin,
PinError: Unpin,
CommsError: Unpin,
PinError: Unpin,
impl<CommsError, PinError> Sync for Error<CommsError, PinError> where
CommsError: Sync,
PinError: Sync,
CommsError: Sync,
PinError: Sync,
impl<CommsError, PinError> Send for Error<CommsError, PinError> where
CommsError: Send,
PinError: Send,
CommsError: Send,
PinError: Send,
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,