pub struct Emit<E> { /* private fields */ }Expand description
Emit an error of the specified type E.
See DefaultContext::with_error for more information.
Trait Implementations§
impl<E, A> ErrorMode<A> for Emit<E>where
E: ContextError<A>,
Auto Trait Implementations§
impl<E> Freeze for Emit<E>
impl<E> RefUnwindSafe for Emit<E>where
E: RefUnwindSafe,
impl<E> Send for Emit<E>where
E: Send,
impl<E> Sync for Emit<E>where
E: Sync,
impl<E> Unpin for Emit<E>where
E: Unpin,
impl<E> UnwindSafe for Emit<E>where
E: UnwindSafe,
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