创建子线程 Rust的线程具有很好的可移植性,在Mac, Window, Linux以及其他许许多多不能一一列举的平台上,Rust的线程都可以完美运行。下面是一个功能齐全但是内容空洞的例子: use std::thread; fn main() { let handle = thread::spawn<