Lines Matching defs:wake
23139 /// to wake up a task is stored in an [`Arc`]. Some executors (especially
23164 /// fn wake(self: Arc<Self>) {
23196 fn wake(self: Arc<Self>);
23200 /// If an executor supports a cheaper way to wake without consuming the
23202 /// [`Arc`] and calls [`wake`] on the clone.
23204 /// [`wake`]: Wake::wake
23207 self.clone().wake();
23245 &RawWakerVTable::new(clone_waker::<W>, wake::<W>, wake_by_ref::<W>, drop_waker::<W>),
23249 // Wake by value, moving the Arc into the Wake::wake function
23250 unsafe fn wake<W: Wake + Send + Sync + 'static>(waker: *const ()) {
23252 <W as Wake>::wake(waker);
23268 &RawWakerVTable::new(clone_waker::<W>, wake::<W>, wake_by_ref::<W>, drop_waker::<W>),