Trait WakeSend

Source
pub trait WakeSend:
    Send
    + Sync
    + Clone
    + 'static {
    // Required method
    fn wake_send(&self, handle: UnsafeFuture);
}
Expand description

A trait to wake a worker and send UnsafeFuture to the worker.

Required Methods§

Source

fn wake_send(&self, handle: UnsafeFuture)

Wakes associated worker and send UnsafeFuture to the worker.

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.

Implementors§