I am new to Rust and I have a question...
Question: What is Rust's equivalent of Python's time.sleep()? I have been searching around the web and the best I am finding is something similar to to this...
use std::time;
Thread::sleep(time::Duration::new(5, 0));
But this seems to be only for threads, is that correct, or am I just dumb?