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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.