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
Trait Implementations
impl Clone for RebootMode
[src][+]
impl Copy for RebootMode
[src]
impl Debug for RebootMode
[src][+]
impl Eq for RebootMode
[src]
impl Hash for RebootMode
[src][+]
impl Ord for RebootMode
[src][+]
impl PartialEq<RebootMode> for RebootMode
[src][+]
impl PartialOrd<RebootMode> for RebootMode
[src][+]
impl StructuralEq for RebootMode
[src]
impl StructuralPartialEq for RebootMode
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,