pub struct Stabilizer { /* private fields */ }Implementations§
Source§impl Stabilizer
impl Stabilizer
pub fn new(delta_policy: DeltaPolicy, config: StabilizerConfig) -> Self
pub fn next_attempt(&mut self) -> Result<AttemptOverrides, StabilizerError>
pub fn has_next(&self) -> bool
pub fn reset(&mut self)
pub fn current_index(&self) -> usize
Trait Implementations§
Source§impl Clone for Stabilizer
impl Clone for Stabilizer
Source§fn clone(&self) -> Stabilizer
fn clone(&self) -> Stabilizer
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 moreAuto Trait Implementations§
impl Freeze for Stabilizer
impl RefUnwindSafe for Stabilizer
impl Send for Stabilizer
impl Sync for Stabilizer
impl Unpin for Stabilizer
impl UnsafeUnpin for Stabilizer
impl UnwindSafe for Stabilizer
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