pub struct BatchExecutorConfig {
pub strategy: BatchStrategy,
pub continue_on_error: bool,
pub item_timeout: Option<Duration>,
pub max_retries: u32,
}Fields§
§strategy: BatchStrategy§continue_on_error: bool§item_timeout: Option<Duration>§max_retries: u32Implementations§
Source§impl BatchExecutorConfig
impl BatchExecutorConfig
pub fn new() -> Self
pub fn with_strategy(self, s: BatchStrategy) -> Self
pub fn with_continue_on_error(self, c: bool) -> Self
Trait Implementations§
Source§impl Clone for BatchExecutorConfig
impl Clone for BatchExecutorConfig
Source§fn clone(&self) -> BatchExecutorConfig
fn clone(&self) -> BatchExecutorConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchExecutorConfig
impl Debug for BatchExecutorConfig
Auto Trait Implementations§
impl Freeze for BatchExecutorConfig
impl RefUnwindSafe for BatchExecutorConfig
impl Send for BatchExecutorConfig
impl Sync for BatchExecutorConfig
impl Unpin for BatchExecutorConfig
impl UnwindSafe for BatchExecutorConfig
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