Struct log_mdc::InsertGuard
source · [−]pub struct InsertGuard { /* private fields */ }
Expand description
A guard object which restores an MDC entry when dropped.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InsertGuard
impl Send for InsertGuard
impl Sync for InsertGuard
impl Unpin for InsertGuard
impl UnwindSafe for InsertGuard
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