Skip to main content

exit

Function exit 

Source
pub fn exit(code: i32) -> !
Expand description

End the process with code, running atexit handlers and flushing stdio — std::process::exit.