pub struct ChaosConfig { /* private fields */ }Implementations§
Source§impl ChaosConfig
impl ChaosConfig
pub fn deterministic() -> Self
pub fn with_failure_probability(self, probability: f32) -> Self
pub fn with_version_conflict_probability(self, probability: f32) -> Self
Trait Implementations§
Source§impl Clone for ChaosConfig
impl Clone for ChaosConfig
Source§fn clone(&self) -> ChaosConfig
fn clone(&self) -> ChaosConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ChaosConfig
impl Debug for ChaosConfig
Auto Trait Implementations§
impl Freeze for ChaosConfig
impl RefUnwindSafe for ChaosConfig
impl Send for ChaosConfig
impl Sync for ChaosConfig
impl Unpin for ChaosConfig
impl UnsafeUnpin for ChaosConfig
impl UnwindSafe for ChaosConfig
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