Enum radio_sx127x::Error [−][src]
pub enum Error<CommsError, PinError, DelayError> {
Comms(CommsError),
Pin(PinError),
Delay(DelayError),
InvalidConfiguration,
Aborted,
InvalidResponse,
Timeout,
Crc,
BufferSize,
InvalidDevice(u8),
}
Expand description
Sx127x error type
Variants
Communications (SPI or UART) error
Pin control error
Delay error
Invalid configuration
Transaction aborted
Invalid response from device
Timeout while awaiting operation completion
incoming packet CRC error
Received packet exceeds buffer size
InvalidDevice(u8)
Invalid or unrecognised device
Tuple Fields of InvalidDevice
0: u8
Trait Implementations
impl<CommsError, PinError, DelayError> StructuralPartialEq for Error<CommsError, PinError, DelayError>
Auto Trait Implementations
impl<CommsError, PinError, DelayError> RefUnwindSafe for Error<CommsError, PinError, DelayError> where
CommsError: RefUnwindSafe,
DelayError: RefUnwindSafe,
PinError: RefUnwindSafe,
impl<CommsError, PinError, DelayError> Send for Error<CommsError, PinError, DelayError> where
CommsError: Send,
DelayError: Send,
PinError: Send,
impl<CommsError, PinError, DelayError> Sync for Error<CommsError, PinError, DelayError> where
CommsError: Sync,
DelayError: Sync,
PinError: Sync,
impl<CommsError, PinError, DelayError> Unpin for Error<CommsError, PinError, DelayError> where
CommsError: Unpin,
DelayError: Unpin,
PinError: Unpin,
impl<CommsError, PinError, DelayError> UnwindSafe for Error<CommsError, PinError, DelayError> where
CommsError: UnwindSafe,
DelayError: UnwindSafe,
PinError: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more