pub struct ErrorLogHandler;Expand description
Log an error and pass through.
Trait Implementations§
Source§impl ErrorHandler for ErrorLogHandler
impl ErrorHandler for ErrorLogHandler
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 ErrorLogHandler
impl RefUnwindSafe for ErrorLogHandler
impl Send for ErrorLogHandler
impl Sync for ErrorLogHandler
impl Unpin for ErrorLogHandler
impl UnsafeUnpin for ErrorLogHandler
impl UnwindSafe for ErrorLogHandler
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