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

Internal I2C communication error

DDC/CI protocol error or transmission corruption

Trait Implementations

impl<I: Debug> Debug for Error<I>
[src]

[src]

Formats the value using the given formatter. Read more

impl<I: Clone> Clone for Error<I>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<I> From<ErrorCode> for Error<I>
[src]

[src]

Performs the conversion.

impl<I: Error + Send + Sync + 'static> From<Error<I>> for Error
[src]

[src]

Performs the conversion.

impl<I: Error> Error for Error<I>
[src]

[src]

A short description of the error. Read more

[src]

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

impl<I: Display> Display for Error<I>
[src]

[src]

Formats the value using the given formatter. Read more