Enum rustot::ota::pal::OtaPalError
source · pub enum OtaPalError<E: Copy> {
SignatureCheckFailed,
FileWriteFailed,
FileTooLarge,
FileCloseFailed,
BadFileHandle,
Unsupported,
BadImageState,
CommitFailed,
VersionCheck,
Custom(E),
}
Variants
SignatureCheckFailed
FileWriteFailed
FileTooLarge
FileCloseFailed
BadFileHandle
Unsupported
BadImageState
CommitFailed
VersionCheck
Custom(E)
Trait Implementations
sourceimpl<E: Clone + Copy> Clone for OtaPalError<E>
impl<E: Clone + Copy> Clone for OtaPalError<E>
sourcefn clone(&self) -> OtaPalError<E>
fn clone(&self) -> OtaPalError<E>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<E: Debug + Copy> Debug for OtaPalError<E>
impl<E: Debug + Copy> Debug for OtaPalError<E>
sourceimpl<E: Copy> From<OtaPalError<E>> for OtaError
impl<E: Copy> From<OtaPalError<E>> for OtaError
sourcefn from(_e: OtaPalError<E>) -> Self
fn from(_e: OtaPalError<E>) -> Self
Converts to this type from the input type.
impl<E: Copy + Copy> Copy for OtaPalError<E>
Auto Trait Implementations
impl<E> RefUnwindSafe for OtaPalError<E>where
E: RefUnwindSafe,
impl<E> Send for OtaPalError<E>where
E: Send,
impl<E> Sync for OtaPalError<E>where
E: Sync,
impl<E> Unpin for OtaPalError<E>where
E: Unpin,
impl<E> UnwindSafe for OtaPalError<E>where
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more