Trait actix_rt::net::ActixStream[][src]

pub trait ActixStream: AsyncRead + AsyncWrite + Unpin + 'static {
    fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<Result<()>>;
fn poll_write_ready(&self, cx: &mut Context<'_>) -> Poll<Result<()>>; }

Extension trait over async read+write types that can also signal readiness.

Required methods

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

Poll stream and check read readiness of Self.

See tokio::net::TcpStream::poll_read_ready for detail on intended use.

fn poll_write_ready(&self, cx: &mut Context<'_>) -> Poll<Result<()>>[src]

Poll stream and check write readiness of Self.

See tokio::net::TcpStream::poll_write_ready for detail on intended use.

Loading content...

Implementors

impl ActixStream for TcpStream[src]

impl ActixStream for UnixStream[src]

Loading content...