pub struct ExecThreadPool { /* private fields */ }
Implementations§
source§impl 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§
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