pub enum SmartValue {
NotSupported,
NotEnabled,
NotUpdated,
Enabled(SmartData),
}Expand description
Whether a drive supports S.M.A.R.T. or not.
Variants§
NotSupported
The drive does not support S.M.A.R.T.
NotEnabled
The drive supports S.M.A.R.T., but it’s not enabled.
NotUpdated
S.M.A.R.T. is supported and enabled, but it’s never been read. Call
smart_update
(async version).
Enabled(SmartData)
Trait Implementations§
Source§impl Clone for SmartValue
impl Clone for SmartValue
Source§fn clone(&self) -> SmartValue
fn clone(&self) -> SmartValue
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 moreAuto Trait Implementations§
impl Freeze for SmartValue
impl RefUnwindSafe for SmartValue
impl Send for SmartValue
impl Sync for SmartValue
impl Unpin for SmartValue
impl UnwindSafe for SmartValue
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