pub struct Stabilizer { /* private fields */ }Implementations§
Source§impl Stabilizer
impl Stabilizer
pub fn new(config: &ForgeConfig) -> Self
Sourcepub fn next_attempt(&mut self) -> ForgeResult<AttemptOverrides>
pub fn next_attempt(&mut self) -> ForgeResult<AttemptOverrides>
Get the next attempt’s overrides.
Panics in debug builds if called out of order. Returns error in release builds.
Sourcepub fn current_index(&self) -> usize
pub fn current_index(&self) -> usize
Get the current phase index (for logging).
Auto 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