Enum ddc_i2c::Error
[−]
[src]
pub enum Error<I> {
I2c(I),
Ddc(ErrorCode),
}An error that can occur during DDC/CI communication.
This error is generic over the underlying I2C communication.
Variants
I2c(I)Internal I2C communication error
Ddc(ErrorCode)DDC/CI protocol error or transmission corruption
Trait Implementations
impl<I: Debug> Debug for Error<I>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<I: Clone> Clone for Error<I>[src]
fn clone(&self) -> Error<I>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<I> From<ErrorCode> for Error<I>[src]
impl<I: Error + Send + Sync + 'static> From<Error<I>> for Error[src]
impl<I: Error> Error for Error<I>[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