pub struct ZeroPool { /* private fields */ }Implementations§
Source§impl ZeroPool
impl ZeroPool
pub fn new() -> Self
pub fn with_workers(worker_count: usize) -> Self
pub fn submit_raw_task( &self, task_fn: TaskFnPointer, params: TaskParamPointer, ) -> WorkFuture
pub fn submit_raw_task_batch(&self, tasks: &[WorkItem]) -> WorkFuture
pub fn submit_task<T>(&self, task_fn: TaskFnPointer, params: &T) -> WorkFuture
pub fn submit_batch_uniform<T>( &self, task_fn: TaskFnPointer, params_vec: &[T], ) -> WorkFuture
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZeroPool
impl !RefUnwindSafe for ZeroPool
impl Send for ZeroPool
impl Sync for ZeroPool
impl Unpin for ZeroPool
impl !UnwindSafe for ZeroPool
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