pub struct EngineConfig {
pub idle_delay: Duration,
pub error_delay: Duration,
pub source_error_backoff: Option<SourceErrorBackoffConfig>,
pub continue_on_source_error: bool,
pub continue_on_handler_error: bool,
pub max_handler_concurrency: usize,
}Expand description
Shared engine configuration independent from input source implementation.
Fields§
§idle_delay: Duration§error_delay: Duration§source_error_backoff: Option<SourceErrorBackoffConfig>Optional exponential backoff for repeated source errors.
When enabled, this takes precedence over error_delay.
continue_on_source_error: bool§continue_on_handler_error: bool§max_handler_concurrency: usizeTrait Implementations§
Source§impl Clone for EngineConfig
impl Clone for EngineConfig
Source§fn clone(&self) -> EngineConfig
fn clone(&self) -> EngineConfig
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 EngineConfig
impl Debug for EngineConfig
Auto Trait Implementations§
impl Freeze for EngineConfig
impl RefUnwindSafe for EngineConfig
impl Send for EngineConfig
impl Sync for EngineConfig
impl Unpin for EngineConfig
impl UnsafeUnpin for EngineConfig
impl UnwindSafe for EngineConfig
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