pub struct DefaultErrorHandler;Expand description
Default error handler that logs errors to stderr
Trait Implementations§
Source§impl<M> ErrorHandler<M> for DefaultErrorHandler
impl<M> ErrorHandler<M> for DefaultErrorHandler
Source§fn handle_error(&self, error: Error, _tx: &SyncSender<Event<M>>)
fn handle_error(&self, error: Error, _tx: &SyncSender<Event<M>>)
Handle an error that occurred during command execution
Auto Trait Implementations§
impl Freeze for DefaultErrorHandler
impl RefUnwindSafe for DefaultErrorHandler
impl Send for DefaultErrorHandler
impl Sync for DefaultErrorHandler
impl Unpin for DefaultErrorHandler
impl UnwindSafe for DefaultErrorHandler
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
Source§impl<T> Inspectable for T
impl<T> Inspectable for T
Source§fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
Conditionally inspect this value
Source§fn inspect_with<F>(self, label: &str, f: F) -> Self
fn inspect_with<F>(self, label: &str, f: F) -> Self
Inspect with a custom formatter