pub enum FailureKind {
CommandRefused {
command: u8,
},
DataNotReady,
Drive {
status: u8,
code: u8,
},
UnexpectedInterrupt {
flag: u8,
},
Watchdog,
Unknown,
}Expand description
What a Failure code says.
Variants§
CommandRefused
The parameter FIFO never had room for this command.
Fields
§
command: u8The command byte.
DataNotReady
The data FIFO never filled after a sector interrupt.
Drive
The drive answered with an error.
UnexpectedInterrupt
An interrupt arrived that the current phase has no use for.
Fields
§
flag: u8The interrupt flag.
Watchdog
No progress for the configured number of VBlanks.
Unknown
A code this version does not produce.
Trait Implementations§
Source§impl Clone for FailureKind
impl Clone for FailureKind
Source§fn clone(&self) -> FailureKind
fn clone(&self) -> FailureKind
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 FailureKind
impl Debug for FailureKind
Source§impl PartialEq for FailureKind
impl PartialEq for FailureKind
impl Copy for FailureKind
impl Eq for FailureKind
impl StructuralPartialEq for FailureKind
Auto Trait Implementations§
impl Freeze for FailureKind
impl RefUnwindSafe for FailureKind
impl Send for FailureKind
impl Sync for FailureKind
impl Unpin for FailureKind
impl UnsafeUnpin for FailureKind
impl UnwindSafe for FailureKind
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)