use std::thread;use std::time::Duration;fn main() { let handle = thread::spawn(|| { for...