pub struct TaskExecutorBuilder<T, E> { /* private fields */ }Implementations§
Source§impl<T, E> TaskExecutorBuilder<T, E>
impl<T, E> TaskExecutorBuilder<T, E>
pub fn new(execution_mode: ExecutionMode<T, E>) -> Self
pub fn insert(&self, task: Task<'static, T, E>) -> &Self
pub fn build(self) -> Result<TaskExecutor<T, E>, BuildError>
Auto Trait Implementations§
impl<T, E> Freeze for TaskExecutorBuilder<T, E>
impl<T, E> !RefUnwindSafe for TaskExecutorBuilder<T, E>
impl<T, E> Send for TaskExecutorBuilder<T, E>
impl<T, E> !Sync for TaskExecutorBuilder<T, E>
impl<T, E> Unpin for TaskExecutorBuilder<T, E>
impl<T, E> !UnwindSafe for TaskExecutorBuilder<T, E>
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