Function spawn_with_builder

Source
pub fn spawn_with_builder<F, T>(
    thread_builder: Builder,
    f: F,
) -> Result<StoppableHandle<T>>
where F: FnOnce(&SimpleAtomicBool) -> T + Send + 'static, T: Send + 'static,