[][src]Enum dw1000::ll::Error

pub enum Error<SPI, CS> where
    SPI: Transfer<u8> + Write<u8>,
    CS: OutputPin
{ Transfer(<SPI as Transfer<u8>>::Error), Write(<SPI as Write<u8>>::Error), ChipSelect(<CS as OutputPin>::Error), }

An SPI error that can occur when communicating with the DW1000

Variants

Transfer(<SPI as Transfer<u8>>::Error)

SPI error occured during a transfer transaction

Write(<SPI as Write<u8>>::Error)

SPI error occured during a write transaction

ChipSelect(<CS as OutputPin>::Error)

Error occured while changing chip select signal

Trait Implementations

impl<SPI, CS> Debug for Error<SPI, CS> where
    SPI: Transfer<u8> + Write<u8>,
    <SPI as Transfer<u8>>::Error: Debug,
    <SPI as Write<u8>>::Error: Debug,
    CS: OutputPin,
    <CS as OutputPin>::Error: Debug
[src]

impl<SPI, CS> From<Error<SPI, CS>> for Error<SPI, CS> where
    SPI: Transfer<u8> + Write<u8>,
    CS: OutputPin
[src]

Auto Trait Implementations

impl<SPI, CS> Send for Error<SPI, CS> where
    <CS as OutputPin>::Error: Send,
    <SPI as Transfer<u8>>::Error: Send,
    <SPI as Write<u8>>::Error: Send

impl<SPI, CS> Sync for Error<SPI, CS> where
    <CS as OutputPin>::Error: Sync,
    <SPI as Transfer<u8>>::Error: Sync,
    <SPI as Write<u8>>::Error: Sync

impl<SPI, CS> Unpin for Error<SPI, CS> where
    <CS as OutputPin>::Error: Unpin,
    <SPI as Transfer<u8>>::Error: Unpin,
    <SPI as Write<u8>>::Error: Unpin

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> 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.