[][src]Type Definition embedded_hal_mock::i2c::Mock

type Mock = Generic<Transaction>;

Mock I2C implementation

This supports the specification and evaluation of expectations to allow automated testing of I2C based drivers. Mismatches between expectations will cause runtime assertions to assist in locating the source of the fault.

Trait Implementations

impl Read for Mock[src]

type Error = MockError

Error type

impl Write for Mock[src]

type Error = MockError

Error type

impl WriteRead for Mock[src]

type Error = MockError

Error type