pub fn exit() -> !
Exits the calling task.
This function terminates the currently running task and does not return.