pub struct AllContextsGuard { /* private fields */ }Expand description
Combined RAII guard for all contexts
When dropped, clears all contexts in the correct order. This is the safest option for complex operations.
Trait Implementations§
Source§impl Drop for AllContextsGuard
impl Drop for AllContextsGuard
Auto Trait Implementations§
impl Forget for AllContextsGuard
impl Freeze for AllContextsGuard
impl Move for AllContextsGuard
impl RefUnwindSafe for AllContextsGuard
impl Send for AllContextsGuard
impl Sync for AllContextsGuard
impl Unpin for AllContextsGuard
impl UnsafeUnpin for AllContextsGuard
impl UnwindSafe for AllContextsGuard
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