pub trait WaitIo {
// Required methods
fn reset_io(&self);
fn wait_io(&self);
fn waker(&self) -> WaitIoWaker;
}
Expand description
This is trait that can block on io events but doing nothing about io
Required Methods§
sourcefn waker(&self) -> WaitIoWaker
fn waker(&self) -> WaitIoWaker
wake up the coroutine that is waiting for io