pub trait ArcWake: Send + Sync {
    fn wake_by_ref(self: ArcBorrow<'_, Self>);

    fn wake(self: Arc<Self>) { ... }
}
Expand description

A waker that is wrapped in Arc for its reference counting.

Types that implement this trait can get a Waker by calling ref_waker.

Required Methods

Wakes a task up.

Provided Methods

Wakes a task up and consumes a reference.

Implementors

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.