Trait pal_async::socket::PollReadyExt
source · pub trait PollReadyExt {
// Required method
fn wait_ready(&mut self, events: PollEvents) -> Ready<'_, Self> ⓘ
where Self: Unpin + Sized;
}
Expand description
Extension methods for implementations of PollReady
.
Required Methods§
sourcefn wait_ready(&mut self, events: PollEvents) -> Ready<'_, Self> ⓘ
fn wait_ready(&mut self, events: PollEvents) -> Ready<'_, Self> ⓘ
Waits for a socket or file to hang up.