Struct safina_executor::ThreadExecutorGuard
source · [−]pub struct ThreadExecutorGuard;
Expand description
Guard returned by set_thread_executor
.
On drop, it removes the thread-local reference to the executor.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ThreadExecutorGuard
impl Send for ThreadExecutorGuard
impl Sync for ThreadExecutorGuard
impl Unpin for ThreadExecutorGuard
impl UnwindSafe for ThreadExecutorGuard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more