Rust's equivalent of C's system('pause')

Hah, I thought this thread looked familiar. The same question was asked more recently than 3 years ago... How to block console from exiting?