pub struct ScopeCtx<'a, 'scope: 'a> { /* private fields */ }Expand description
Represents a fork-join scope which can be used to spawn any number of tasks that run in the caller’s thread context.
See scope for more details.
Implementations§
Trait Implementations§
impl<'a, 'scope: 'a> Copy for ScopeCtx<'a, 'scope>
Auto Trait Implementations§
impl<'a, 'scope> Freeze for ScopeCtx<'a, 'scope>
impl<'a, 'scope> !RefUnwindSafe for ScopeCtx<'a, 'scope>
impl<'a, 'scope> Send for ScopeCtx<'a, 'scope>
impl<'a, 'scope> Sync for ScopeCtx<'a, 'scope>
impl<'a, 'scope> Unpin for ScopeCtx<'a, 'scope>
impl<'a, 'scope> !UnwindSafe for ScopeCtx<'a, 'scope>
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