pub enum StorageDevice {
Show 33 variants
VolumeOffine(String, String),
DrivePredictiveFailure(String),
DriveRemoved(String),
ControllerPasswordAccepted(String),
WriteCacheDataLoss(String),
BatteryOK(String),
ControllerPreviousError(String, String),
ControllerPortDegraded(String, String),
VolumeOfflineCleared(String, String),
WriteCacheProtected(String),
BatteryCharging(String),
DrivePredictiveFailureCleared(String),
DriveOfflineCleared(String),
DriveInserted(String),
BatteryFailure(String),
ControllerFailure(String),
VolumeDegraded(String, String),
DriveMissing(String),
WriteCacheDegraded(String),
ControllerOK(String),
DriveMissingCleared(String),
DriveOK(String),
DriveOffline(String),
VolumeOK(String, String),
BatteryMissing(String),
DriveFailureCleared(String),
ControllerPortFailure(String),
ControllerPortOK(String),
VolumeFailure(String, String),
WriteCacheTemporarilyDegraded(String),
ControllerDegraded(String, String),
ControllerPasswordRequired(String),
DriveFailure(String),
}Expand description
This registry defines the messages for storage devices.
Variants§
VolumeOffine(String, String)
This message shall be used to indicate a volume offline condition was detected. This may occur if the volume configuration is not supported or needs to be imported.
Tuple Fields
DrivePredictiveFailure(String)
This message shall be used to indicate a drive predictive failure condition has been detected.
DriveRemoved(String)
This message shall be used to indicate a drive has been removed.
ControllerPasswordAccepted(String)
This message shall be used to indicate that the storage controller password was accepted. Normally this is used by storage controllers that require a controller password during boot to unlock encrypted volumes or drives.
Tuple Fields
WriteCacheDataLoss(String)
This message shall be used to indicate the write cache is reporting loss of data in posted-writes cache memory due to loss of battery power when the server lost power or a hardware error.
Tuple Fields
BatteryOK(String)
This message shall be used to indicate a battery health has changed to OK.
ControllerPreviousError(String, String)
This message shall be used to indicate that an unreported storage controller error condition has been detected prior to reboot.
Tuple Fields
ControllerPortDegraded(String, String)
This message shall be used to indicate a controller port degraded condition has been detected.
Tuple Fields
VolumeOfflineCleared(String, String)
This message shall be used to indicate a volume online condition was detected.
Tuple Fields
WriteCacheProtected(String)
This message shall be used to indicate a controller write cache state is in protected mode.
Tuple Fields
BatteryCharging(String)
This message shall be used to indicate a battery is below the required capacity and is charging.
DrivePredictiveFailureCleared(String)
This message shall be used to indicate a predictive failure condition on a drive has been cleared, but any other failure conditions remain.
DriveOfflineCleared(String)
This message shall be used to indicate a drive offline condition has been cleared.
DriveInserted(String)
This message shall be used to indicate a drive has been inserted.
BatteryFailure(String)
This message shall be used to indicate a battery failure condition has been detected.
ControllerFailure(String)
This message shall be used to indicate that a storage controller failure condition has been detected due to a hardware, communication, or firmware failure.
Tuple Fields
VolumeDegraded(String, String)
This message shall be used to indicate a volume degraded condition was detected due to one or more drives not installed correctly, missing, or has failed.
Tuple Fields
DriveMissing(String)
This message shall be used to indicate a drive that is required by the configuration is missing. This message shall exist any time a volume is degraded or failed due to a missing drive.
WriteCacheDegraded(String)
This message shall be used to indicate the write cache state degraded due to a missing battery or hardware failure.
Tuple Fields
ControllerOK(String)
This message shall be used to indicate that the storage controller health has changed to OK.
Tuple Fields
DriveMissingCleared(String)
This message shall be used to indicate a previous drive missing condition has been cleared.
DriveOK(String)
This message shall be used to indicate a drive health has changed to OK.
DriveOffline(String)
This message shall be used to indicate a drive offline condition has been detected. This may occur when a drive is unconfigured, encrypted by a foreign controller, offline during a background operation, or unsupported.
VolumeOK(String, String)
This message shall be used to indicate a volume health has changed to OK.
Tuple Fields
BatteryMissing(String)
This message shall be used to indicate a battery that is required by the configuration is missing.
DriveFailureCleared(String)
This message shall be used to indicate a failure condition on a drive has been cleared, but any predictive failure or other conditions remain.
ControllerPortFailure(String)
This message shall be used to indicate a controller port failure condition has been detected.
Tuple Fields
ControllerPortOK(String)
This message shall be used to indicate a controller port health has changed to OK.
Tuple Fields
VolumeFailure(String, String)
This message shall be used to indicate a volume failure condition was detected due to one or more drives not installed correctly, missing, or has failed.
Tuple Fields
WriteCacheTemporarilyDegraded(String)
This message shall be used to indicate write cache state temporarily degraded due to battery charging or data recovery rebuild operation pending.
Tuple Fields
ControllerDegraded(String, String)
This message shall be used to indicate that a storage controller degraded condition has been detected.
Tuple Fields
ControllerPasswordRequired(String)
This message shall be used to indicate that the storage controller requires a password. Normally this is used by storage controllers that require a controller password during boot to unlock encrypted volumes or drives.
Tuple Fields
DriveFailure(String)
This message shall be used to indicate a drive failure condition detected due to a drive not installed correctly or has failed.
Trait Implementations§
Source§impl Clone for StorageDevice
impl Clone for StorageDevice
Source§fn clone(&self) -> StorageDevice
fn clone(&self) -> StorageDevice
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more