Enum blinkt::Error []

pub enum Error {
    Gpio(GpioError),
    Io(Error),
}

Errors that can occur while using Blinkt.

Variants

Accessing the GPIO peripheral returned an error.

Some of these errors can be fixed by changing file permissions, or upgrading to a more recent version of Raspbian.

An IO operation returned an error.

This is likely related to accessing either the SPI interface (spidev) or the GPIO bitbang interface (rppal).

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl From<GpioError> for Error

Performs the conversion.

impl From<Error> for Error

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error