pub struct SuppressLogOutputGuard { /* private fields */ }Expand description
The log-output suppression flag set for a scope (set_suppress_log_output) and put back as it was when the
guard is dropped — at the scope’s end, on an early return or while a panic unwinds — so a scope that fails cannot
leave the thread’s later conversions silent (a speculative title-page run, sect05.rs
title_page_probe_run, under cortex_worker’s per-paper catch_unwind).
Implementations§
Trait Implementations§
Source§impl Drop for SuppressLogOutputGuard
impl Drop for SuppressLogOutputGuard
Auto Trait Implementations§
impl Freeze for SuppressLogOutputGuard
impl RefUnwindSafe for SuppressLogOutputGuard
impl Send for SuppressLogOutputGuard
impl Sync for SuppressLogOutputGuard
impl Unpin for SuppressLogOutputGuard
impl UnsafeUnpin for SuppressLogOutputGuard
impl UnwindSafe for SuppressLogOutputGuard
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