pub struct NotifierContext<'a, Key>{ /* private fields */ }
Implementations§
Source§impl<'a, Key> NotifierContext<'a, Key>
impl<'a, Key> NotifierContext<'a, Key>
Trait Implementations§
Source§impl<'a, Key> Notifier for NotifierContext<'a, Key>
impl<'a, Key> Notifier for NotifierContext<'a, Key>
type InstantSlot = Slot
Source§fn add_fd(&self, fd: RawFd)
fn add_fd(&self, fd: RawFd)
Poll when we receive an edge-triggered event on this file descriptor.
Source§fn add_instant(&self, instant: Instant) -> Slot
fn add_instant(&self, instant: Instant) -> Slot
Poll at this (typically future) instant.
Source§fn remove_instant(&self, slot: Slot)
fn remove_instant(&self, slot: Slot)
No longer poll at this specific previously added instant.
Auto Trait Implementations§
impl<'a, Key> Freeze for NotifierContext<'a, Key>
impl<'a, Key> !RefUnwindSafe for NotifierContext<'a, Key>
impl<'a, Key> Send for NotifierContext<'a, Key>
impl<'a, Key> Sync for NotifierContext<'a, Key>
impl<'a, Key> Unpin for NotifierContext<'a, Key>
impl<'a, Key> !UnwindSafe for NotifierContext<'a, Key>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more