Enum pscontroller_rs::Error[][src]

pub enum Error<E> {
    LateCollision,
    BadResponse,
    Spi(E),
}

Errors that can arrise from trying to communicate with the controller

Variants

Late collision

Something responded badly

SPI error

Trait Implementations

impl<E> From<E> for Error<E>
[src]

Performs the conversion.

Auto Trait Implementations

impl<E> Send for Error<E> where
    E: Send

impl<E> Sync for Error<E> where
    E: Sync