pub enum DispatchError<E> {
Transport(Error),
Handler(E),
}Variants§
Trait Implementations§
Source§impl<E: Debug> Debug for DispatchError<E>
impl<E: Debug> Debug for DispatchError<E>
Auto Trait Implementations§
impl<E> !RefUnwindSafe for DispatchError<E>
impl<E> !UnwindSafe for DispatchError<E>
impl<E> Freeze for DispatchError<E>where
E: Freeze,
impl<E> Send for DispatchError<E>where
E: Send,
impl<E> Sync for DispatchError<E>where
E: Sync,
impl<E> Unpin for DispatchError<E>where
E: Unpin,
impl<E> UnsafeUnpin for DispatchError<E>where
E: UnsafeUnpin,
Blanket Implementations§
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