pub struct WarnHandler;Expand description
Log a warning and pass through.
Trait Implementations§
Source§impl ErrorHandler for WarnHandler
impl ErrorHandler for WarnHandler
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 Forget for WarnHandler
impl Freeze for WarnHandler
impl Move for WarnHandler
impl RefUnwindSafe for WarnHandler
impl Send for WarnHandler
impl Sync for WarnHandler
impl Unpin for WarnHandler
impl UnsafeUnpin for WarnHandler
impl UnwindSafe for WarnHandler
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