[][src]Struct event_manager::EventOps

pub struct EventOps<'a> { /* fields omitted */ }

Opaque object associated with an EventSubscriber that allows the addition, modification, and removal of events in the watchlist.

Implementations

impl<'a> EventOps<'a>[src]

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

Add the provided events to the inner epoll event set.

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

Submit the provided changes to the inner epoll event set.

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

Remove the specified events from the inner epoll event set.

Auto Trait Implementations

impl<'a> RefUnwindSafe for EventOps<'a>

impl<'a> Send for EventOps<'a>

impl<'a> Sync for EventOps<'a>

impl<'a> Unpin for EventOps<'a>

impl<'a> !UnwindSafe for EventOps<'a>

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.