pub struct StepIteration(/* private fields */);Expand description
One semantic execution of a ceremony step.
An iteration is distinct from a retry attempt: retries recover the same execution after failure or lease loss, while a new iteration deliberately runs successful work again because its declared stop condition is false.
Implementations§
Trait Implementations§
Source§impl Clone for StepIteration
impl Clone for StepIteration
Source§fn clone(&self) -> StepIteration
fn clone(&self) -> StepIteration
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 StepIteration
Source§impl Debug for StepIteration
impl Debug for StepIteration
Source§impl Default for StepIteration
impl Default for StepIteration
Source§impl<'de> Deserialize<'de> for StepIteration
impl<'de> Deserialize<'de> for StepIteration
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 Eq for StepIteration
Source§impl Ord for StepIteration
impl Ord for StepIteration
Source§fn cmp(&self, other: &StepIteration) -> Ordering
fn cmp(&self, other: &StepIteration) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for StepIteration
impl PartialEq for StepIteration
Source§impl PartialOrd for StepIteration
impl PartialOrd for StepIteration
Source§impl Serialize for StepIteration
impl Serialize for StepIteration
impl StructuralPartialEq for StepIteration
Auto Trait Implementations§
impl Freeze for StepIteration
impl RefUnwindSafe for StepIteration
impl Send for StepIteration
impl Sync for StepIteration
impl Unpin for StepIteration
impl UnsafeUnpin for StepIteration
impl UnwindSafe for StepIteration
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