Rust doesn't seem to provide a means of cleanly exiting the process apart from programmatically ending all of one's tasks and then allowing the main task to run to completion. Some folks are turning to std::libc::exit as an alternative, which @chris-morgan has pointed out might have undesirable consequences.
This feature is common in many other languages:
exit() in C
System.exit() in Java
sys.exit() in Python
os.Exit() in Go
It may be worthwhile to document why it is impractical for Rust to provide it as well.