pub trait Task<Args>:
Send
+ Sync
+ 'static { }Expand description
A Function run on a worker: its arguments are read in the call, so they are also Send.
An Err(e) result rejects with e.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".