Enum embedded_update::service::Error
source · [−]pub enum Error<N, H, S, T> {
Network(N),
Http(H),
Tls(T),
Codec(S),
Protocol,
}
Expand description
An error returned from the update service.
Variants
Network(N)
Error from the underlying network
Http(H)
Error from HTTP client
Tls(T)
Error from TLS
Codec(S)
Error in encoding or decoding of the payload
Protocol
Error in the firmware update protocol
Trait Implementations
Auto Trait Implementations
impl<N, H, S, T> RefUnwindSafe for Error<N, H, S, T> where
H: RefUnwindSafe,
N: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<N, H, S, T> Send for Error<N, H, S, T> where
H: Send,
N: Send,
S: Send,
T: Send,
impl<N, H, S, T> Sync for Error<N, H, S, T> where
H: Sync,
N: Sync,
S: Sync,
T: Sync,
impl<N, H, S, T> Unpin for Error<N, H, S, T> where
H: Unpin,
N: Unpin,
S: Unpin,
T: Unpin,
impl<N, H, S, T> UnwindSafe for Error<N, H, S, T> where
H: UnwindSafe,
N: UnwindSafe,
S: UnwindSafe,
T: 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