Enum blinkt::Error
[−]
pub enum Error { Gpio(GpioError), Io(Error), }
Errors that can occur while using Blinkt.
Variants
Gpio(GpioError)
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.
Io(Error)
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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for Error
impl Error for Error
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more