pub enum Error<SpiE> {
RxOverflow,
CrcMismatch,
Spi(SpiE),
}
Expand description
CC1101 errors.
Variants§
RxOverflow
The RX FIFO buffer overflowed, too small buffer for configured packet length.
CrcMismatch
Corrupt packet received with invalid CRC.
Spi(SpiE)
Platform-dependent SPI-errors, such as IO errors.
Trait Implementations§
Auto Trait Implementations§
impl<SpiE> RefUnwindSafe for Error<SpiE>where
SpiE: RefUnwindSafe,
impl<SpiE> Send for Error<SpiE>where
SpiE: Send,
impl<SpiE> Sync for Error<SpiE>where
SpiE: Sync,
impl<SpiE> Unpin for Error<SpiE>where
SpiE: Unpin,
impl<SpiE> UnwindSafe for Error<SpiE>where
SpiE: 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