Enum nix::sys::reboot::RebootMode
[−]
[src]
pub enum RebootMode {
RB_HALT_SYSTEM,
RB_KEXEC,
RB_POWER_OFF,
RB_AUTOBOOT,
RB_SW_SUSPEND,
}How exactly should the system be rebooted.
See set_cad_enabled() for
enabling/disabling Ctrl-Alt-Delete.
Variants
RB_HALT_SYSTEMRB_KEXECRB_POWER_OFFRB_AUTOBOOTRB_SW_SUSPENDTrait Implementations
impl Clone for RebootMode[src]
fn clone(&self) -> RebootMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more