pub struct IgnoreHandler;Expand description
Silently pass through (no-op).
Trait Implementations§
Source§impl ErrorHandler for IgnoreHandler
impl ErrorHandler for IgnoreHandler
Source§fn handle(
&self,
_name: &str,
_error_msg: &str,
_cycle: u64,
_duration_nanos: u64,
detail: ErrorDetail,
) -> ErrorDetail
fn handle( &self, _name: &str, _error_msg: &str, _cycle: u64, _duration_nanos: u64, detail: ErrorDetail, ) -> ErrorDetail
Handle an error, returning a potentially transformed ErrorDetail. Read more
Auto Trait Implementations§
impl Freeze for IgnoreHandler
impl RefUnwindSafe for IgnoreHandler
impl Send for IgnoreHandler
impl Sync for IgnoreHandler
impl Unpin for IgnoreHandler
impl UnsafeUnpin for IgnoreHandler
impl UnwindSafe for IgnoreHandler
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