Copy to ClipboardRawPreviewuse std::thread; thread::spawn(move || { // thread code here }); Spawn a thread0211gioyikCodiga's Rust RecipesQuickly spawn a thread using the std library0 CommentsAdd CommentLog in to add a comment