Enum embedded_update::Error
source · [−]pub enum Error<D, S> {
DecodeVersion,
Delay,
Device(D),
Service(S),
}
Expand description
The error types that the updater may return during the update process.
Variants
DecodeVersion
Error decoding version.
Delay
Error from delaying.
Device(D)
Error from firmware device.
Service(S)
Error from the update service.
Trait Implementations
Auto Trait Implementations
impl<D, S> RefUnwindSafe for Error<D, S> where
D: RefUnwindSafe,
S: RefUnwindSafe,
impl<D, S> Send for Error<D, S> where
D: Send,
S: Send,
impl<D, S> Sync for Error<D, S> where
D: Sync,
S: Sync,
impl<D, S> Unpin for Error<D, S> where
D: Unpin,
S: Unpin,
impl<D, S> UnwindSafe for Error<D, S> where
D: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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