Enum nix::sys::reboot::RebootMode [−][src]
#[repr(i32)]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_SUSPEND
Trait Implementations
impl Clone for RebootMode[src]
impl Clone for RebootModefn clone(&self) -> RebootMode[src]
fn clone(&self) -> RebootModeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for RebootMode[src]
impl Copy for RebootModeimpl Debug for RebootMode[src]
impl Debug for RebootModefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for RebootMode[src]
impl Eq for RebootModeimpl PartialEq for RebootMode[src]
impl PartialEq for RebootModeAuto Trait Implementations
impl Send for RebootMode
impl Send for RebootModeimpl Sync for RebootMode
impl Sync for RebootMode