pub enum SignError<E> {
Io(E),
InvalidImageLen,
}Expand description
Errors that can occur during verification
Variants§
Io(E)
IO error
InvalidImageLen
Signed image is not padded correctly (to 64K for app images and to 4K for bootloader images)
Implementations§
Trait Implementations§
Source§impl<E> Error for SignError<E>where
E: Debug,
impl<E> Error for SignError<E>where
E: Debug,
1.30.0 · 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 SignError<E>where
E: Freeze,
impl<E> RefUnwindSafe for SignError<E>where
E: RefUnwindSafe,
impl<E> Send for SignError<E>where
E: Send,
impl<E> Sync for SignError<E>where
E: Sync,
impl<E> Unpin for SignError<E>where
E: Unpin,
impl<E> UnwindSafe for SignError<E>where
E: UnwindSafe,
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