pub fn reboot(how: RebootMode) -> Result<Infallible>
Available on crate feature
reboot
only.Expand description
Reboots or shuts down the system.
pub fn reboot(how: RebootMode) -> Result<Infallible>
reboot
only.Reboots or shuts down the system.