use std::thread::{self, JoinHandle}; struct Foo<'c> { foo: &'c str, } impl<'c> Foo<'c> ... If Rust allowed you to send an instance of Foo to another thread, ...
確定! 回上一頁