#[non_exhaustive]pub enum SmartStatus {
Success,
Aborted,
Interrupted,
Fatal,
UnknownError,
ElectricalError,
ServoError,
ReadError,
HandlingError,
InProgress,
Unknown,
}Expand description
The status of a S.M.A.R.T. test.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Success
Last self-test was a success (or never ran).
Aborted
Last self-test was aborted.
Interrupted
Last self-test was interrupted.
Fatal
Last self-test did not complete.
UnknownError
Last self-test failed (Unknown).
ElectricalError
Last self-test failed (Electrical).
ServoError
Last self-test failed (Servo).
ReadError
Last self-test failed (Read).
HandlingError
Last self-test failed (Damage).
InProgress
Self-test is currently in progress.
Unknown
Unknown status
Trait Implementations§
Source§impl Clone for SmartStatus
impl Clone for SmartStatus
Source§fn clone(&self) -> SmartStatus
fn clone(&self) -> SmartStatus
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 moreimpl Copy for SmartStatus
Source§impl Debug for SmartStatus
impl Debug for SmartStatus
impl Eq for SmartStatus
Source§impl FromStr for SmartStatus
impl FromStr for SmartStatus
Source§impl Hash for SmartStatus
impl Hash for SmartStatus
Source§impl PartialEq for SmartStatus
impl PartialEq for SmartStatus
impl StructuralPartialEq for SmartStatus
Auto Trait Implementations§
impl Freeze for SmartStatus
impl RefUnwindSafe for SmartStatus
impl Send for SmartStatus
impl Sync for SmartStatus
impl Unpin for SmartStatus
impl UnsafeUnpin for SmartStatus
impl UnwindSafe for SmartStatus
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