Skip to main content

exit

Function exit 

Source
pub fn exit() -> !
Expand description

Exits the calling task.

This function terminates the currently running task and does not return.