sel4_async_io

Trait Read

Source
pub trait Read: ErrorType {
    // Required method
    fn poll_read(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>,
        buf: &mut [u8],
    ) -> Poll<Result<usize, Self::Error>>;
}

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl<T: Read + Unpin> Read for &mut T

Source§

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

Implementors§

Source§

impl<T> Read for EmbeddedIOAsyncAdapter<T>
where T: Read + ReadCancelSafe + Unpin,

Source§

impl<T> Read for EmbeddedIOAsyncAdapterUsingReady<T>
where T: Read + ReadReady + Unpin,