[][src]Enum radio_sx128x::Error

pub enum Error<CommsError, PinError> {
    Comms(CommsError),
    Pin(PinError),
    Aborted,
    Timeout,
    InvalidCrc,
    InvalidDevice(u16),
    InvalidResponse(u8),
    InvalidConfiguration,
}

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

InvalidConfiguration

Invalid configuration option provided

Trait Implementations

impl<CommsError, PinError> From<Error<CommsError, PinError>> for Error<CommsError, PinError>[src]

impl<CommsError: PartialEq, PinError: PartialEq> PartialEq<Error<CommsError, PinError>> for Error<CommsError, PinError>[src]

impl<CommsError: Debug, PinError: Debug> Debug 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

impl<CommsError, PinError> Send for Error<CommsError, PinError> where
    CommsError: Send,
    PinError: Send

impl<CommsError, PinError> Sync for Error<CommsError, PinError> where
    CommsError: Sync,
    PinError: Sync

impl<CommsError, PinError> UnwindSafe for Error<CommsError, PinError> where
    CommsError: UnwindSafe,
    PinError: UnwindSafe

impl<CommsError, PinError> RefUnwindSafe for Error<CommsError, PinError> where
    CommsError: RefUnwindSafe,
    PinError: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.