Trait pal_async::wait::WaitDriver
source · pub trait WaitDriver: Unpin {
type Wait: 'static + PollWait;
// Required method
fn new_wait(&self, fd: RawFd, read_size: usize) -> Result<Self::Wait>;
}
Expand description
A trait for driving kernel event (Windows events or Unix eventfd) waits.