Type Alias pal_async::unix::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