pub enum IssueKind {
InvalidFirmware,
UnsupportedFirmware,
ReceiverMismatch,
HardwareMismatch,
Connection,
Verification,
Update,
Unexpected,
}Expand description
A host-facing error category; detailed causes remain in the typed library error.
Variants§
InvalidFirmware
The selected bytes cannot form a valid firmware update.
UnsupportedFirmware
This firmware’s update format is not implemented.
ReceiverMismatch
Installed evidence no longer matches the connected receiver.
HardwareMismatch
The selected firmware targets different hardware.
Connection
A required command or device read could not complete.
Verification
Readback or target startup was not verified.
Update
An update command failed; transport evidence determines consequences.
Unexpected
The host needs to retain diagnostics for a new or unexpected condition.
Trait Implementations§
impl Copy for IssueKind
impl Eq for IssueKind
impl StructuralPartialEq for IssueKind
Auto Trait Implementations§
impl Freeze for IssueKind
impl RefUnwindSafe for IssueKind
impl Send for IssueKind
impl Sync for IssueKind
impl Unpin for IssueKind
impl UnsafeUnpin for IssueKind
impl UnwindSafe for IssueKind
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