Skip to main content

AsyncReadReady

Trait AsyncReadReady 

Source
pub trait AsyncReadReady {
    // Required method
    fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<Result<()>>;
}

Required Methods§

Source

fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<Result<()>>

cf. https://docs.rs/tokio/latest/tokio/net/struct.TcpStream.html#method.poll_read_ready

Implementations on Foreign Types§

Source§

impl AsyncReadReady for TcpStream

Source§

fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<Result<()>>

Implementors§