diff options
Diffstat (limited to 'src/sys/reboot.rs')
-rw-r--r-- | src/sys/reboot.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sys/reboot.rs b/src/sys/reboot.rs index 0f9d5e88..81502d01 100644 --- a/src/sys/reboot.rs +++ b/src/sys/reboot.rs @@ -1,8 +1,14 @@ +//! Reboot/shutdown or enable/disable Ctrl-Alt-Delete. + use {Errno, Error, Result}; use libc; use void::Void; use std::mem::drop; +/// How exactly should the system be rebooted. +/// +/// See [`set_cad_enabled()`](fn.set_cad_enabled.html) for +/// enabling/disabling Ctrl-Alt-Delete. #[derive(Clone, Copy, Debug, Eq, PartialEq)] pub enum RebootMode { Halt, |