pub enum Error<E> {
Receiver(Error<E>),
Reference(Error<E>),
Read(Error<E>),
Image(PrepareError),
Flash(FlashError<E>),
Changed,
Startup,
}Expand description
Recovery identification, preparation or execution failed.
Variants§
Receiver(Error<E>)
Receiver identification or revalidation failed.
Reference(Error<E>)
Explicit Current reference analysis or metadata binding failed.
Read(Error<E>)
A required device read failed.
Image(PrepareError)
Image size, integrity, form or chip is unacceptable.
Flash(FlashError<E>)
Transfer or protected-region verification failed.
Changed
The live chip/banner changed after identification.
Startup
The receiver did not start the selected firmware.
Trait Implementations§
Source§impl<E> CodedError for Error<E>
Available on crate features drive and enc and image only.
impl<E> CodedError for Error<E>
Available on crate features
drive and enc and image only.Source§impl<E: Debug + 'static> Error for Error<E>
impl<E: Debug + 'static> Error for Error<E>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl<E> Freeze for Error<E>
impl<E> RefUnwindSafe for Error<E>where
Error<E>: RefUnwindSafe,
Error<E>: RefUnwindSafe,
Error<E>: RefUnwindSafe,
FlashError<E>: RefUnwindSafe,
impl<E> Send for Error<E>
impl<E> Sync for Error<E>
impl<E> Unpin for Error<E>
impl<E> UnsafeUnpin for Error<E>where
Error<E>: UnsafeUnpin,
Error<E>: UnsafeUnpin,
Error<E>: UnsafeUnpin,
FlashError<E>: UnsafeUnpin,
impl<E> UnwindSafe for Error<E>
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