pub struct ExecutorConfig {
pub max_concurrent_tasks: usize,
pub enable_persistence: bool,
pub state_dir: String,
pub resource_pool: ResourcePool,
pub retry_on_failure: bool,
pub stop_on_failure: bool,
pub checkpoint_interval: usize,
pub enable_checkpointing: bool,
}Expand description
Workflow executor configuration.
Fields§
§max_concurrent_tasks: usizeMaximum concurrent tasks.
enable_persistence: boolEnable state persistence.
state_dir: StringState directory.
resource_pool: ResourcePoolResource pool.
retry_on_failure: boolRetry on failure.
stop_on_failure: boolStop on first failure.
checkpoint_interval: usizeCheckpoint interval (save checkpoint every N tasks).
enable_checkpointing: boolEnable checkpoint-based recovery.
Trait Implementations§
Source§impl Clone for ExecutorConfig
impl Clone for ExecutorConfig
Source§fn clone(&self) -> ExecutorConfig
fn clone(&self) -> ExecutorConfig
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 ExecutorConfig
impl Debug for ExecutorConfig
Auto Trait Implementations§
impl Freeze for ExecutorConfig
impl RefUnwindSafe for ExecutorConfig
impl Send for ExecutorConfig
impl Sync for ExecutorConfig
impl Unpin for ExecutorConfig
impl UnsafeUnpin for ExecutorConfig
impl UnwindSafe for ExecutorConfig
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