Enum nix::sys::reboot::RebootMode [−][src]
#[repr(i32)]
pub enum RebootMode {
RB_HALT_SYSTEM,
RB_KEXEC,
RB_POWER_OFF,
RB_AUTOBOOT,
RB_SW_SUSPEND,
}
Expand description
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
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for RebootMode
impl Send for RebootMode
impl Sync for RebootMode
impl Unpin for RebootMode
impl UnwindSafe for RebootMode
Blanket Implementations
Mutably borrows from an owned value. Read more