nix
0.26.1
In nix::
sys::
reboot
Enums
RebootMode
Functions
reboot
set_cad_enabled
nix
::
sys
::
reboot
Function
reboot
Copy item path
Settings
Help
Summary
Source
pub fn reboot(how:
RebootMode
) ->
Result
<
Infallible
>
Expand description
Reboots or shuts down the system.