pub enum PauseFailure {
NoAnswer,
Refused,
NeverStopped,
}Expand description
Why a Pause could not be proven.
Variants§
NoAnswer
The Pause was never acknowledged (no drive, tray open, dead controller).
Refused
Refused with INT5 on every try, or the second response was INT5.
NeverStopped
Acknowledged, but neither INT2 nor a status without an active bit came within the bounds: the drive is still reading, seeking or playing.
Implementations§
Source§impl PauseFailure
impl PauseFailure
Sourcepub const fn code(self) -> u8
pub const fn code(self) -> u8
A stable one-byte code for SectorReader::diagnostics
and on-screen reports.
Trait Implementations§
Source§impl Clone for PauseFailure
impl Clone for PauseFailure
Source§fn clone(&self) -> PauseFailure
fn clone(&self) -> PauseFailure
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PauseFailure
impl Debug for PauseFailure
Source§impl PartialEq for PauseFailure
impl PartialEq for PauseFailure
impl Copy for PauseFailure
impl Eq for PauseFailure
impl StructuralPartialEq for PauseFailure
Auto Trait Implementations§
impl Freeze for PauseFailure
impl RefUnwindSafe for PauseFailure
impl Send for PauseFailure
impl Sync for PauseFailure
impl Unpin for PauseFailure
impl UnsafeUnpin for PauseFailure
impl UnwindSafe for PauseFailure
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)