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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.