pal_async::unix

Type Alias EpollDriver

Source
pub type EpollDriver = IoDriver<EpollBackend>;
Expand description

A driver to spawn tasks and IO objects on EpollPool.

Aliased Type§

struct EpollDriver { /* private fields */ }

Trait Implementations§

Source§

impl FdReadyDriver for EpollDriver

Source§

type FdReady = FdReady

The file descriptor ready type.
Source§

fn new_fd_ready(&self, fd: RawFd) -> Result<Self::FdReady>

Returns a new object for polling file descriptor readiness.
Source§

impl TimerDriver for EpollDriver

Source§

type Timer = Timer

The timer type.
Source§

fn new_timer(&self) -> Self::Timer

Returns a new timer.
Source§

impl WaitDriver for EpollDriver

Source§

type Wait = FdWait<FdReady>

The wait object.
Source§

fn new_wait(&self, fd: RawFd, read_size: usize) -> Result<Self::Wait>

Creates a new wait. Read more