pub enum StatusIndicator {
Ok,
Fail,
Rebuild,
PredictiveFailureAnalysis,
Hotspare,
InAcriticalArray,
InAfailedArray,
UnsupportedValue,
}Variants§
Ok
The drive is OK.
Fail
The drive has failed.
Rebuild
The drive is being rebuilt.
PredictiveFailureAnalysis
The drive still works but is predicted to fail soon.
Hotspare
The drive has been marked to automatically rebuild and replace a failed drive.
InAcriticalArray
The array to which this drive belongs has been degraded.
InAfailedArray
The array to which this drive belongs has failed.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for StatusIndicator
impl Clone for StatusIndicator
Source§fn clone(&self) -> StatusIndicator
fn clone(&self) -> StatusIndicator
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 StatusIndicator
impl Debug for StatusIndicator
Source§impl<'de> Deserialize<'de> for StatusIndicator
impl<'de> Deserialize<'de> for StatusIndicator
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 StatusIndicator
impl PartialEq for StatusIndicator
Source§impl Serialize for StatusIndicator
impl Serialize for StatusIndicator
Source§impl ToSnakeCase for StatusIndicator
impl ToSnakeCase for StatusIndicator
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 StatusIndicator
impl Eq for StatusIndicator
impl StructuralPartialEq for StatusIndicator
Auto Trait Implementations§
impl Freeze for StatusIndicator
impl RefUnwindSafe for StatusIndicator
impl Send for StatusIndicator
impl Sync for StatusIndicator
impl Unpin for StatusIndicator
impl UnsafeUnpin for StatusIndicator
impl UnwindSafe for StatusIndicator
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