pub enum AbstractCommandErrorKind {
None,
Busy,
NotSupported,
Exception,
HaltResume,
Bus,
_Reserved,
Other,
}Expand description
Errors which can occur while executing an abstract command.
Variants
None
No error happened.
Busy
An abstract command was executing while command, abstractcs, or abstractauto was written, or when one of the data or progbuf registers was read or written. This status is only written if cmderr contains 0.
NotSupported
The requested command is not supported, reg
Exception
An exception occurred while executing the command (e.g. while executing the Program Buffer).
HaltResume
The abstract command couldn’t execute because the hart wasn’t in the required state (running/halted), or unavailable.
Bus
The abstract command failed due to a bus error (e.g. alignment, access size, or timeout).
_Reserved
A reserved code. Should not occur.
Other
The command failed for another reason.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AbstractCommandErrorKind
impl Send for AbstractCommandErrorKind
impl Sync for AbstractCommandErrorKind
impl Unpin for AbstractCommandErrorKind
impl UnwindSafe for AbstractCommandErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more