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_SYSTEM
RB_KEXEC
RB_POWER_OFF
RB_AUTOBOOT
RB_SW_SUSPEND
Trait Implementations
impl Clone for RebootMode
[src]
impl Clone for RebootMode
fn clone(&self) -> RebootMode
[src]
fn clone(&self) -> RebootMode
Returns 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 RebootMode
impl Debug for RebootMode
[src]
impl Debug for RebootMode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for RebootMode
[src]
impl Eq for RebootMode
impl PartialEq for RebootMode
[src]
impl PartialEq for RebootMode
Auto Trait Implementations
impl Send for RebootMode
impl Send for RebootMode
impl Sync for RebootMode
impl Sync for RebootMode