pub struct ExecThreadPool { /* private fields */ }
Implementations
sourceimpl ExecThreadPool
impl ExecThreadPool
pub fn new(
context: &Arc<ExecutionContext>,
threads_count: usize,
name: &str
) -> Self
pub fn register_executors<E: AsyncExecutor>(
&self,
count: usize,
pool_alloc_mode: PoolAllocMode,
pool_init_data: <E::OutputPacket as PoolObjectTrait>::InitData,
global_params: &Arc<E::GlobalParams>
) -> ExecutorsHandle<E>
Auto Trait Implementations
impl !RefUnwindSafe for ExecThreadPool
impl Send for ExecThreadPool
impl Sync for ExecThreadPool
impl Unpin for ExecThreadPool
impl !UnwindSafe for ExecThreadPool
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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