Trait WaitDriver

Source
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.

Required Associated Types§

Source

type Wait: 'static + PollWait

The wait object.

Required Methods§

Source

fn new_wait(&self, handle: RawHandle) -> Result<Self::Wait>

Creates a new wait.

Implementations on Foreign Types§

Source§

impl WaitDriver for Arc<IocpDriver>

Source§

type Wait = Wait

Source§

fn new_wait(&self, handle: RawHandle) -> Result<Self::Wait>

Implementors§