pub trait WaitDriver: Unpin {
type Wait: 'static + PollWait;
// Required method
fn new_wait(&self, handle: RawHandle) -> Result<Self::Wait>;
}
Expand description
A trait for driving kernel event (Windows events or Unix eventfd) waits.
pub trait WaitDriver: Unpin {
type Wait: 'static + PollWait;
// Required method
fn new_wait(&self, handle: RawHandle) -> Result<Self::Wait>;
}
A trait for driving kernel event (Windows events or Unix eventfd) waits.