[−][src]Struct simple_libc::epoll::Epoll
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]
&self,
events: &mut [Event],
timeout: Option<Duration>,
sigmask: Option<&Sigset>
) -> Result<Int>
pub fn wait(
&self,
events: &mut [Event],
timeout: Option<Duration>
) -> Result<Int>
[src]
&self,
events: &mut [Event],
timeout: Option<Duration>
) -> Result<Int>
Trait Implementations
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,