pub struct StepRepeatPolicy { /* private fields */ }Expand description
Bounded semantic repetition for a successful ceremony step.
Implementations§
Source§impl StepRepeatPolicy
impl StepRepeatPolicy
pub fn new(until: RepeatUntilCondition, max_iterations: StepIteration) -> Self
pub fn until(&self) -> &RepeatUntilCondition
pub fn max_iterations(&self) -> StepIteration
pub fn is_satisfied(&self, output: &StepOutput) -> bool
pub fn permits_another_iteration(&self, current: StepIteration) -> bool
Trait Implementations§
Source§impl Clone for StepRepeatPolicy
impl Clone for StepRepeatPolicy
Source§impl Debug for StepRepeatPolicy
impl Debug for StepRepeatPolicy
Source§impl<'de> Deserialize<'de> for StepRepeatPolicy
impl<'de> Deserialize<'de> for StepRepeatPolicy
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 StepRepeatPolicy
Source§impl PartialEq for StepRepeatPolicy
impl PartialEq for StepRepeatPolicy
Source§impl Serialize for StepRepeatPolicy
impl Serialize for StepRepeatPolicy
impl StructuralPartialEq for StepRepeatPolicy
Auto Trait Implementations§
impl Freeze for StepRepeatPolicy
impl RefUnwindSafe for StepRepeatPolicy
impl Send for StepRepeatPolicy
impl Sync for StepRepeatPolicy
impl Unpin for StepRepeatPolicy
impl UnsafeUnpin for StepRepeatPolicy
impl UnwindSafe for StepRepeatPolicy
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