pub enum SelfTestResult {
Passed,
NotImplemented,
DeviceError(SelfTestDeviceError),
FatalError(u8),
DeviceSpecific {
code: u8,
detail: u8,
},
}Expand description
Parsed response for the Get Self Test Results command.
Variants§
Passed
Self-test passed.
NotImplemented
Self-test is not implemented.
DeviceError(SelfTestDeviceError)
Device error details.
FatalError(u8)
Fatal hardware error with a device-specific error code.
DeviceSpecific
Device-specific failure (code, detail).
Trait Implementations§
Source§impl Clone for SelfTestResult
impl Clone for SelfTestResult
Source§fn clone(&self) -> SelfTestResult
fn clone(&self) -> SelfTestResult
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 SelfTestResult
impl Debug for SelfTestResult
Source§impl PartialEq for SelfTestResult
impl PartialEq for SelfTestResult
impl Eq for SelfTestResult
impl StructuralPartialEq for SelfTestResult
Auto Trait Implementations§
impl Freeze for SelfTestResult
impl RefUnwindSafe for SelfTestResult
impl Send for SelfTestResult
impl Sync for SelfTestResult
impl Unpin for SelfTestResult
impl UnwindSafe for SelfTestResult
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