[][src]Enum radio_sx127x::Error

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

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]

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

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

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

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

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

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

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, 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> From<T> for 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.