pub struct Execution {
pub strategy: String,
pub seed: u64,
pub workers: usize,
pub retry_wave_size: usize,
}Expand description
How the retries run.
Fields§
§strategy: StringExactly independent_retry.
seed: u64The root seed; each retry’s seed derives from it and the retry’s index.
workers: usizeThe retries that run at the same time; the job’s CPU slots.
retry_wave_size: usizeThe retries started together; no new wave starts after the wall time.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Execution
impl<'de> Deserialize<'de> for Execution
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Execution
Auto Trait Implementations§
impl Forget for Execution
impl Freeze for Execution
impl Move for Execution
impl RefUnwindSafe for Execution
impl Send for Execution
impl Sync for Execution
impl Unpin for Execution
impl UnsafeUnpin for Execution
impl UnwindSafe for Execution
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