pub enum WatchdogAction {
reset,
shutdown,
poweroff,
pause,
debug,
none,
inject_nmi,
}
Variants§
Trait Implementations§
Source§impl Clone for WatchdogAction
impl Clone for WatchdogAction
Source§fn clone(&self) -> WatchdogAction
fn clone(&self) -> WatchdogAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WatchdogAction
impl Debug for WatchdogAction
Source§impl<'de> Deserialize<'de> for WatchdogAction
impl<'de> Deserialize<'de> for WatchdogAction
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 WatchdogAction
impl Enum for WatchdogAction
Source§impl FromStr for WatchdogAction
impl FromStr for WatchdogAction
Source§impl Hash for WatchdogAction
impl Hash for WatchdogAction
Source§impl Ord for WatchdogAction
impl Ord for WatchdogAction
Source§fn cmp(&self, other: &WatchdogAction) -> Ordering
fn cmp(&self, other: &WatchdogAction) -> Ordering
1.21.0 · 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 WatchdogAction
impl PartialEq for WatchdogAction
Source§impl PartialOrd for WatchdogAction
impl PartialOrd for WatchdogAction
Source§impl Serialize for WatchdogAction
impl Serialize for WatchdogAction
impl Copy for WatchdogAction
impl Eq for WatchdogAction
impl StructuralPartialEq for WatchdogAction
Auto Trait Implementations§
impl Freeze for WatchdogAction
impl RefUnwindSafe for WatchdogAction
impl Send for WatchdogAction
impl Sync for WatchdogAction
impl Unpin for WatchdogAction
impl UnwindSafe for WatchdogAction
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