[][src]Struct simple_libc::epoll::Epoll

pub struct Epoll { /* fields omitted */ }

Implementations

impl Epoll[src]

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

pub fn fd(&self) -> Int[src]

pub fn del(&mut self, fd: Int) -> Result<()>[src]

pub fn add(&mut self, fd: Int, events: Events) -> Result<()>[src]

pub fn modify(&mut self, fd: Int, events: Events) -> Result<()>[src]

pub fn add2(&mut self, fd: Int, event: Event) -> Result<()>[src]

pub fn modify2(&mut self, fd: Int, event: Event) -> Result<()>[src]

pub fn add3(&mut self, fd: Int, events: Events, data: u64) -> Result<()>[src]

pub fn modify3(&mut self, fd: Int, events: Events, data: u64) -> Result<()>[src]

pub fn pwait(
    &self,
    events: &mut [Event],
    timeout: Option<Duration>,
    sigmask: Option<&Sigset>
) -> Result<Int>
[src]

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

Trait Implementations

impl Drop 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.