pub struct ExecutorConfig { /* private fields */ }Implementations§
Source§impl ExecutorConfig
impl ExecutorConfig
pub fn new( task_arena: TaskArenaConfig, task_arena_options: TaskArenaOptions, min_workers: usize, max_workers: usize, ) -> ExecutorConfig
pub fn with_max_tasks( min_workers: usize, max_workers: usize, max_tasks: usize, ) -> Result<Self>
Auto Trait Implementations§
impl Freeze for ExecutorConfig
impl RefUnwindSafe for ExecutorConfig
impl Send for ExecutorConfig
impl Sync for ExecutorConfig
impl Unpin for ExecutorConfig
impl UnwindSafe for ExecutorConfig
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