pub struct LogAlertHook;Expand description
A simple implementation that writes alerts to the standard error stream.
Does not depend on the external log crate, avoiding extra configuration in test or
minimal deployment scenarios.
Implementations§
Source§impl LogAlertHook
impl LogAlertHook
Trait Implementations§
Source§impl AlertHook for LogAlertHook
impl AlertHook for LogAlertHook
Auto Trait Implementations§
impl Freeze for LogAlertHook
impl RefUnwindSafe for LogAlertHook
impl Send for LogAlertHook
impl Sync for LogAlertHook
impl Unpin for LogAlertHook
impl UnsafeUnpin for LogAlertHook
impl UnwindSafe for LogAlertHook
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