spawn_with

Function spawn_with 

Source
pub fn spawn_with<'b, F, T>(
    builder: Builder,
    f: F,
) -> Result<BorrowedJoinHandle<'b, T>>
where F: FnOnce() -> T + Send + 'b, T: Send + 'b,