[−][src]Trait embedded_platform::i2c::I2cRead
A peripheral that can perform I²C read operations.
Associated Types
type Error
The common error type for I²C read operations.
A single error type for all operations is enforced for simplicity.
type Read: Read + Unpin
An object that can be used to complete the read operation.
Required methods
fn poll_begin_read(
self: Pin<&mut Self>,
cx: &mut Context,
addr: u8
) -> Poll<Result<Self::Read, Self::Error>>
self: Pin<&mut Self>,
cx: &mut Context,
addr: u8
) -> Poll<Result<Self::Read, Self::Error>>
Polls the start of a read operation to completion.