pub struct EngineContextGuard { /* private fields */ }Expand description
Puts the thread’s previous context back (EngineContext::enter).
It stays on the thread that entered. Its drop writes that thread’s
context, so the guard is not Send.
Trait Implementations§
Source§impl Drop for EngineContextGuard
impl Drop for EngineContextGuard
Auto Trait Implementations§
impl !RefUnwindSafe for EngineContextGuard
impl !Send for EngineContextGuard
impl !Sync for EngineContextGuard
impl !UnwindSafe for EngineContextGuard
impl Freeze for EngineContextGuard
impl Unpin for EngineContextGuard
impl UnsafeUnpin for EngineContextGuard
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