Enum mcp3008::Mcp3008Error
[−]
[src]
pub enum Mcp3008Error { SpidevError(Error), AdcOutOfRangeError(u8), UnsupportedOSError, }
Variants
SpidevError(Error)
AdcOutOfRangeError(u8)
UnsupportedOSError
Trait Implementations
impl Debug for Mcp3008Error
[src]
impl Display for Mcp3008Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for Mcp3008Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<Error> for Mcp3008Error
[src]
fn from(err: Error) -> Mcp3008Error
[src]
Performs the conversion.