pub struct ContextGuard { /* private fields */ }Expand description
RAII wrapper for automatic context cleanup
Implementations§
Source§impl ContextGuard
impl ContextGuard
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ContextGuard
impl RefUnwindSafe for ContextGuard
impl !Send for ContextGuard
impl !Sync for ContextGuard
impl Unpin for ContextGuard
impl UnwindSafe for ContextGuard
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