[][src]Trait embedded_platform::io::Read

pub trait Read: Debug {
    type Error: ReadError;
    fn poll_read(
        self: Pin<&mut Self>,
        cx: &mut Context,
        buffer: &mut [u8]
    ) -> Poll<Result<usize, Self::Error>>; }

Associated Types

Loading content...

Required methods

fn poll_read(
    self: Pin<&mut Self>,
    cx: &mut Context,
    buffer: &mut [u8]
) -> Poll<Result<usize, Self::Error>>

Loading content...

Implementors

Loading content...