我正在玩Rust 的并发性,并试图将我的头包围 Send / Sync / Arc / Mutex . ... 此外, thread::spawn() 还需要 'static 但它隐含在这个特定的 Arc<Foo + Sync + Send> ...
確定! 回上一頁