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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl AsyncReadReady for TcpStream

Source§

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

Implementors§