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

Trait Implementations

impl Clone for RebootMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for RebootMode
[src]

impl Debug for RebootMode
[src]

Formats the value using the given formatter.

impl Eq for RebootMode
[src]

impl PartialEq for RebootMode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.