pub(crate) trait Wake: Send + Sync + Sized + 'static {
// Required methods
fn wake(arc_self: Arc<Self>);
fn wake_by_ref(arc_self: &Arc<Self>);
}
Expand description
Simplified waking interface based on Arcs.
Required Methods§
sourcefn wake_by_ref(arc_self: &Arc<Self>)
fn wake_by_ref(arc_self: &Arc<Self>)
Wake by reference.
Object Safety§
This trait is not object safe.