pub enum StatusIndicator {
OK,
Fail,
Rebuild,
PredictiveFailureAnalysis,
Hotspare,
InACriticalArray,
InAFailedArray,
}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.
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 Default for StatusIndicator
impl Default for StatusIndicator
Source§fn default() -> StatusIndicator
fn default() -> StatusIndicator
Returns the “default value” for a type. Read more
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 Metadata<'static> for StatusIndicator
impl Metadata<'static> for StatusIndicator
Source§const JSON_SCHEMA: &'static str = "Drive.v1_17_0.json"
const JSON_SCHEMA: &'static str = "Drive.v1_17_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for StatusIndicator
impl RefUnwindSafe for StatusIndicator
impl Send for StatusIndicator
impl Sync for StatusIndicator
impl Unpin 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