[−][src]Struct notifier::NotifierContext
Methods
impl<'a, Key: 'a> NotifierContext<'a, Key> where
Key: Clone + Eq + Hash + Into<usize>,
usize: Into<Key>,
[src]
Key: Clone + Eq + Hash + Into<usize>,
usize: Into<Key>,
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]
Key: Clone + Eq + Hash + Into<usize>,
usize: Into<Key>,
type InstantSlot = Slot
fn queue(&self)
[src]
fn add_fd(&self, fd: RawFd)
[src]
fn remove_fd(&self, fd: RawFd)
[src]
fn add_instant(&self, instant: Instant) -> Slot
[src]
fn remove_instant(&self, slot: Slot)
[src]
Auto Trait Implementations
impl<'a, Key> Send for NotifierContext<'a, Key> where
Key: Send + Sync,
Key: Send + Sync,
impl<'a, Key> Unpin for NotifierContext<'a, Key> where
Key: Unpin,
Key: Unpin,
impl<'a, Key> Sync for NotifierContext<'a, Key> where
Key: Send + Sync,
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]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self