Struct scoped_threadpool::Scope
source · pub struct Scope<'pool, 'scope> { /* private fields */ }
Expand description
Handle to the scope during which the threadpool is borrowed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'pool, 'scope> Freeze for Scope<'pool, 'scope>
impl<'pool, 'scope> !RefUnwindSafe for Scope<'pool, 'scope>
impl<'pool, 'scope> Send for Scope<'pool, 'scope>
impl<'pool, 'scope> !Sync for Scope<'pool, 'scope>
impl<'pool, 'scope> Unpin for Scope<'pool, 'scope>
impl<'pool, 'scope> !UnwindSafe for Scope<'pool, '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