[][src]Struct notifier::Notifier

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

Methods

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

pub fn new() -> Self[src]

pub fn context(&self, key: Key) -> NotifierContext<Key>[src]

pub fn wait<F: FnMut(Either<Ready, Instant>, Key)>(&self, f: F)[src]

Auto Trait Implementations

impl<Key> Send for Notifier<Key> where
    Key: Send

impl<Key> Unpin for Notifier<Key> where
    Key: Unpin

impl<Key> Sync for Notifier<Key> where
    Key: Send + Sync

impl<Key> !UnwindSafe for Notifier<Key>

impl<Key> !RefUnwindSafe for Notifier<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