pub struct SectionGuard { /* private fields */ }Expand description
RAII guard returned by StageLogger::group. Closes the section
(decrements the indent depth) when dropped, so a stage’s body
indentation is always balanced even if the stage bails early with ?.
Trait Implementations§
Source§impl Drop for SectionGuard
impl Drop for SectionGuard
Auto Trait Implementations§
impl Freeze for SectionGuard
impl RefUnwindSafe for SectionGuard
impl Send for SectionGuard
impl Sync for SectionGuard
impl Unpin for SectionGuard
impl UnsafeUnpin for SectionGuard
impl UnwindSafe for SectionGuard
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