Enum embedded_update::service::SerialError
source · [−]pub enum SerialError<T, C> {
Transport(T),
Codec(C),
}
Expand description
The error returned by the Serial update service.
Variants
Transport(T)
An error in the underlying transport.
Codec(C)
An error encoding/decoding the status or command.
Trait Implementations
Auto Trait Implementations
impl<T, C> RefUnwindSafe for SerialError<T, C> where
C: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, C> Send for SerialError<T, C> where
C: Send,
T: Send,
impl<T, C> Sync for SerialError<T, C> where
C: Sync,
T: Sync,
impl<T, C> Unpin for SerialError<T, C> where
C: Unpin,
T: Unpin,
impl<T, C> UnwindSafe for SerialError<T, C> where
C: 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