Trait ore::netio::AsyncReady[][src]

pub trait AsyncReady {
    fn ready<'life0, 'async_trait>(
        &'life0 self,
        interest: Interest
    ) -> Pin<Box<dyn Future<Output = Result<Ready>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
This is supported on crate feature network only.
Expand description

Asynchronous IO readiness.

Like tokio::io::AsyncRead or tokio::io::AsyncWrite, but for readiness events.

Required methods

Checks for IO readiness.

See TcpStream::ready for details.

Implementations on Foreign Types

Implementors