pub fn submit<F: FnOnce() + Send + 'static>(f: F)
Submits a closure to the default thread pool.
The closure must be Send + 'static.
Send + 'static
This uses TrySubmitThreadpoolCallback and reuses worker threads.
TrySubmitThreadpoolCallback