pub struct ExecutionMode<T, E> { /* private fields */ }Implementations§
Source§impl<T, E> ExecutionMode<T, E>
Auto-generated by derive_getters::Getters.
impl<T, E> ExecutionMode<T, E>
Auto-generated by derive_getters::Getters.
Source§impl<T, E> ExecutionMode<T, E>
impl<T, E> ExecutionMode<T, E>
Sourcepub fn true_async() -> Self
pub fn true_async() -> Self
Everything function is executed truly asynchronously For example, if a step has tasks A, B and C, we execute each of them asynchronously.
Sourcepub fn pseudo_async<F>(execution_fn: F) -> Self
pub fn pseudo_async<F>(execution_fn: F) -> Self
All the individual tasks in a step are executed in parallel, but we wait for all the tasks in the same step to complete. For example, if a step has tasks A, B and C, we execute the tasks in parallel and wait for all of them.
Auto Trait Implementations§
impl<T, E> Freeze for ExecutionMode<T, E>
impl<T, E> !RefUnwindSafe for ExecutionMode<T, E>
impl<T, E> Send for ExecutionMode<T, E>
impl<T, E> !Sync for ExecutionMode<T, E>
impl<T, E> Unpin for ExecutionMode<T, E>
impl<T, E> !UnwindSafe for ExecutionMode<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