pub enum ErrorOrMapError<E> {
Inner(E),
Conversion,
}
Expand description
Error mapping an incoming message to the inner type
Variants§
Trait Implementations§
Source§impl<E: Debug> Debug for ErrorOrMapError<E>
impl<E: Debug> Debug for ErrorOrMapError<E>
Source§impl<E: Display> Display for ErrorOrMapError<E>
impl<E: Display> Display for ErrorOrMapError<E>
Source§impl<E: Debug + Display> Error for ErrorOrMapError<E>
impl<E: Debug + Display> Error for ErrorOrMapError<E>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<E> Freeze for ErrorOrMapError<E>where
E: Freeze,
impl<E> RefUnwindSafe for ErrorOrMapError<E>where
E: RefUnwindSafe,
impl<E> Send for ErrorOrMapError<E>where
E: Send,
impl<E> Sync for ErrorOrMapError<E>where
E: Sync,
impl<E> Unpin for ErrorOrMapError<E>where
E: Unpin,
impl<E> UnwindSafe for ErrorOrMapError<E>where
E: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more