pub struct FlowConfig {
pub lease_ttl: Duration,
pub max_attempts: u32,
}Expand description
Tuning for a FlowManager: lease lifetime and the flow-level attempt cap
(spec §4.3 leases; the cap turns a poison flow dead).
Fields§
§lease_ttl: DurationHow long an acquired lease is valid before another process may steal it.
max_attempts: u32Maximum flow-level (re-)execution attempts before the flow is marked
dead and refused (KEEL-E032). Distinct from Tier 1 step attempts.
Trait Implementations§
Source§impl Clone for FlowConfig
impl Clone for FlowConfig
Source§fn clone(&self) -> FlowConfig
fn clone(&self) -> FlowConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FlowConfig
Source§impl Debug for FlowConfig
impl Debug for FlowConfig
Auto Trait Implementations§
impl Freeze for FlowConfig
impl RefUnwindSafe for FlowConfig
impl Send for FlowConfig
impl Sync for FlowConfig
impl Unpin for FlowConfig
impl UnsafeUnpin for FlowConfig
impl UnwindSafe for FlowConfig
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