pub enum WatchdogTimeoutActions {
None,
ResetSystem,
PowerCycle,
PowerDown,
Oem,
UnsupportedValue,
}Expand description
The enumerations of WatchdogTimeoutActions specify the choice of action to take when the host watchdog timer reaches its timeout value.
Variants§
None
No action taken.
ResetSystem
Reset the system.
PowerCycle
Power cycle the system.
PowerDown
Power down the system.
Oem
Perform an OEM-defined action.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for WatchdogTimeoutActions
impl Clone for WatchdogTimeoutActions
Source§fn clone(&self) -> WatchdogTimeoutActions
fn clone(&self) -> WatchdogTimeoutActions
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 moreSource§impl Debug for WatchdogTimeoutActions
impl Debug for WatchdogTimeoutActions
Source§impl<'de> Deserialize<'de> for WatchdogTimeoutActions
impl<'de> Deserialize<'de> for WatchdogTimeoutActions
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 PartialEq for WatchdogTimeoutActions
impl PartialEq for WatchdogTimeoutActions
Source§fn eq(&self, other: &WatchdogTimeoutActions) -> bool
fn eq(&self, other: &WatchdogTimeoutActions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WatchdogTimeoutActions
impl Serialize for WatchdogTimeoutActions
Source§impl ToSnakeCase for WatchdogTimeoutActions
impl ToSnakeCase for WatchdogTimeoutActions
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringimpl Copy for WatchdogTimeoutActions
impl Eq for WatchdogTimeoutActions
impl StructuralPartialEq for WatchdogTimeoutActions
Auto Trait Implementations§
impl Freeze for WatchdogTimeoutActions
impl RefUnwindSafe for WatchdogTimeoutActions
impl Send for WatchdogTimeoutActions
impl Sync for WatchdogTimeoutActions
impl Unpin for WatchdogTimeoutActions
impl UnsafeUnpin for WatchdogTimeoutActions
impl UnwindSafe for WatchdogTimeoutActions
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