i2cdev::mock

Type Alias I2CResult

Source
pub type I2CResult<T> = Result<T>;
Expand description

I2C mock result type

Aliased Type§

enum I2CResult<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value