Skip to main content

commit_current_exit

Function commit_current_exit 

Source
pub fn commit_current_exit(permit: ExitPermit) -> !
Expand description

Commits a prepared scheduler exit and permanently leaves this context.

Any failure after completion became externally visible is a fatal runtime invariant; this function therefore has no recoverable return path.