pub fn execute<F>(work_type: WorkType, task: F) -> Result<()>where F: FnOnce() -> Result<()> + Send + 'static,
Execute a task on the global thread pool