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
; }
Available 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