Struct log_mdc::ExtendGuard
source · [−]pub struct ExtendGuard(_);
Expand description
A guard objects which restores MDC entries when dropped.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExtendGuard
impl Send for ExtendGuard
impl Sync for ExtendGuard
impl Unpin for ExtendGuard
impl UnwindSafe for ExtendGuard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more