Skip to main content

exit_current_thread

Function exit_current_thread 

Source
pub fn exit_current_thread() -> Result<(), TaskError>
Expand description

Exits the calling thread and switches to its replacement.