pub struct Pender(/* private fields */);
Expand description
Platform/architecture-specific action executed when an executor has pending work.
When a task within an executor is woken, the Pender
is called. This does a
platform/architecture-specific action to signal there is pending work in the executor.
When this happens, you must arrange for Executor::poll
to be called.
You can think of it as a waker, but for the whole executor.
Implementations§
Auto Trait Implementations§
impl Freeze for Pender
impl RefUnwindSafe for Pender
impl Send for Pender
impl Sync for Pender
impl Unpin for Pender
impl UnwindSafe for Pender
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