pub enum MutateThreshold {
MinKillPct(f64),
}Expand description
Threshold defining the minimum acceptable kill rate.
Variants§
Implementations§
Source§impl MutateThreshold
impl MutateThreshold
Sourcepub fn min_kill_pct(pct: f64) -> Self
pub fn min_kill_pct(pct: f64) -> Self
Build a kill-rate threshold.
Trait Implementations§
Source§impl Clone for MutateThreshold
impl Clone for MutateThreshold
Source§fn clone(&self) -> MutateThreshold
fn clone(&self) -> MutateThreshold
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 moreSource§impl Debug for MutateThreshold
impl Debug for MutateThreshold
impl Copy for MutateThreshold
Auto Trait Implementations§
impl Freeze for MutateThreshold
impl RefUnwindSafe for MutateThreshold
impl Send for MutateThreshold
impl Sync for MutateThreshold
impl Unpin for MutateThreshold
impl UnsafeUnpin for MutateThreshold
impl UnwindSafe for MutateThreshold
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