rust exit application code example Example: return exit code rust use std::process; process::exit(1);