pub struct BatchExecutor { /* private fields */ }Implementations§
Source§impl BatchExecutor
impl BatchExecutor
pub fn new() -> Self
pub fn with_config(config: BatchExecutorConfig) -> Self
pub fn config(&self) -> &BatchExecutorConfig
pub async fn execute_sequential<T, R, E, F, Fut>( &self, items: Vec<BatchItem<T>>, executor_fn: F, ) -> BatchResult<R, BatchError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BatchExecutor
impl RefUnwindSafe for BatchExecutor
impl Send for BatchExecutor
impl Sync for BatchExecutor
impl Unpin for BatchExecutor
impl UnwindSafe for BatchExecutor
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