[][src]Struct notifier::NotifierContext

pub struct NotifierContext<'a, Key: 'a> where
    Key: Clone + Eq + Hash + Into<usize>,
    usize: Into<Key>, 
{ /* fields omitted */ }

Methods

impl<'a, Key: 'a> NotifierContext<'a, Key> where
    Key: Clone + Eq + Hash + Into<usize>,
    usize: Into<Key>, 
[src]

pub fn add_trigger(&self) -> (Triggerer, Triggeree)[src]

pub fn queue(&self)[src]

pub fn add_fd(&self, fd: RawFd)[src]

pub fn remove_fd(&self, fd: RawFd)[src]

pub fn add_instant(&self, instant: Instant) -> Slot[src]

pub fn remove_instant(&self, slot: Slot)[src]

Trait Implementations

impl<'a, Key: 'a> Notifier for NotifierContext<'a, Key> where
    Key: Clone + Eq + Hash + Into<usize>,
    usize: Into<Key>, 
[src]

type InstantSlot = Slot

Auto Trait Implementations

impl<'a, Key> Send for NotifierContext<'a, Key> where
    Key: Send + Sync

impl<'a, Key> Unpin for NotifierContext<'a, Key> where
    Key: Unpin

impl<'a, Key> Sync for NotifierContext<'a, Key> where
    Key: Send + Sync

impl<'a, Key> !UnwindSafe for NotifierContext<'a, Key>

impl<'a, Key> !RefUnwindSafe for NotifierContext<'a, Key>

Blanket Implementations

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self