restart

Function restart 

Source
pub fn restart(code: ExitCode) -> !
Expand description

Restarts the system.

This function will not return. If a restart handler is missing or not working, it will halt all CPUs on the machine.