Trait mz_ore::netio::async_ready::AsyncReady
source · pub trait AsyncReady {
// Required method
fn ready<'life0, 'async_trait>(
&'life0 self,
interest: Interest,
) -> Pin<Box<dyn Future<Output = Result<Ready>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: '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.