Enum rustot::ota::state::ImageStateReason
source · pub enum ImageStateReason<E: Copy> {
NewerJob,
FailedIngest,
MomentumAbort,
ImageStateMismatch,
SignatureCheckPassed,
InvalidDataProtocol,
UserAbort,
VersionCheck,
Pal(OtaPalError<E>),
}
Variants
NewerJob
FailedIngest
MomentumAbort
ImageStateMismatch
SignatureCheckPassed
InvalidDataProtocol
UserAbort
VersionCheck
Pal(OtaPalError<E>)
Trait Implementations
sourceimpl<E: Clone + Copy> Clone for ImageStateReason<E>
impl<E: Clone + Copy> Clone for ImageStateReason<E>
sourcefn clone(&self) -> ImageStateReason<E>
fn clone(&self) -> ImageStateReason<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 moreimpl<E: Copy + Copy> Copy for ImageStateReason<E>
Auto Trait Implementations
impl<E> RefUnwindSafe for ImageStateReason<E>where
E: RefUnwindSafe,
impl<E> Send for ImageStateReason<E>where
E: Send,
impl<E> Sync for ImageStateReason<E>where
E: Sync,
impl<E> Unpin for ImageStateReason<E>where
E: Unpin,
impl<E> UnwindSafe for ImageStateReason<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