Enum wlink::error::AbstractcsCmdErr
source · pub enum AbstractcsCmdErr {
Busy,
NotSupported,
Exception,
HaltOrResume,
Bus,
Parity,
Other,
}Variants§
Busy
Write to the command, abstractcs and abstractauto registers, or read/write to the data and progbuf registers when the abstract command is executed.
NotSupported
The current abstract command is not supported
Exception
error occurs when the abstract command is executed.
HaltOrResume
the hart wasn’t in the required state (running/halted), or unavailable
Bus
bus error (e.g. alignment, access size, or timeout)
Parity
Parity bit error during communication (WCH’s extension)
Other
The command failed for another reason.
Trait Implementations§
source§impl Clone for AbstractcsCmdErr
impl Clone for AbstractcsCmdErr
source§fn clone(&self) -> AbstractcsCmdErr
fn clone(&self) -> AbstractcsCmdErr
Returns a copy 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 AbstractcsCmdErr
impl Debug for AbstractcsCmdErr
impl Copy for AbstractcsCmdErr
Auto Trait Implementations§
impl RefUnwindSafe for AbstractcsCmdErr
impl Send for AbstractcsCmdErr
impl Sync for AbstractcsCmdErr
impl Unpin for AbstractcsCmdErr
impl UnwindSafe for AbstractcsCmdErr
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