[][src]Struct queen_io::epoll::Epoll

pub struct Epoll(_);

Methods

impl Epoll[src]

pub fn new() -> Result<Epoll>[src]

pub fn wait(
    &self,
    events: &mut Events,
    timeout: Option<Duration>
) -> Result<usize>
[src]

pub fn add<E: ?Sized>(
    &self,
    handle: &E,
    token: Token,
    interest: Ready,
    opts: EpollOpt
) -> Result<()> where
    E: Evented
[src]

pub fn modify<E: ?Sized>(
    &self,
    handle: &E,
    token: Token,
    interest: Ready,
    opts: EpollOpt
) -> Result<()> where
    E: Evented
[src]

pub fn delete<E: ?Sized>(&self, handle: &E) -> Result<()> where
    E: Evented
[src]

Trait Implementations

impl AsRawFd for Epoll[src]

impl Debug for Epoll[src]

Auto Trait Implementations

impl RefUnwindSafe for Epoll

impl Send for Epoll

impl Sync for Epoll

impl Unpin for Epoll

impl UnwindSafe for Epoll

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.