pub enum RebootAction {
reset,
shutdown,
}Variants§
Trait Implementations§
Source§impl Clone for RebootAction
impl Clone for RebootAction
Source§fn clone(&self) -> RebootAction
fn clone(&self) -> RebootAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RebootAction
Source§impl Debug for RebootAction
impl Debug for RebootAction
Source§impl<'de> Deserialize<'de> for RebootAction
impl<'de> Deserialize<'de> for RebootAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enum for RebootAction
impl Enum for RebootAction
impl Eq for RebootAction
Source§impl FromStr for RebootAction
impl FromStr for RebootAction
Source§impl Hash for RebootAction
impl Hash for RebootAction
Source§impl Ord for RebootAction
impl Ord for RebootAction
Source§fn cmp(&self, other: &RebootAction) -> Ordering
fn cmp(&self, other: &RebootAction) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RebootAction
impl PartialEq for RebootAction
Source§fn eq(&self, other: &RebootAction) -> bool
fn eq(&self, other: &RebootAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RebootAction
impl PartialOrd for RebootAction
Source§impl Serialize for RebootAction
impl Serialize for RebootAction
impl StructuralPartialEq for RebootAction
Auto Trait Implementations§
impl Freeze for RebootAction
impl RefUnwindSafe for RebootAction
impl Send for RebootAction
impl Sync for RebootAction
impl Unpin for RebootAction
impl UnsafeUnpin for RebootAction
impl UnwindSafe for RebootAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more