ErrorMode

Trait ErrorMode 

Source
pub trait ErrorMode<A>: Sealed { }
Expand description

The trait governing how error capture is implemented.

See DefaultContext::with_capture or DefaultContext::with_error for more information.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<A> ErrorMode<A> for Ignore

Source§

impl<E, A> ErrorMode<A> for Capture<E>
where E: ContextError<A>,

Source§

impl<E, A> ErrorMode<A> for Emit<E>
where E: ContextError<A>,