Function borrowed_thread::spawn
source · pub fn spawn<'b, F, T>(f: F) -> BorrowedJoinHandle<'b, T>where
F: FnOnce() -> T + Send + 'b,
T: Send + 'b,
pub fn spawn<'b, F, T>(f: F) -> BorrowedJoinHandle<'b, T>where
F: FnOnce() -> T + Send + 'b,
T: Send + 'b,