pub struct CausalSim { /* private fields */ }Expand description
A running causal-consistency stress simulation.
Implementations§
Source§impl CausalSim
impl CausalSim
pub fn new(scenario: CausalScenario) -> Self
pub fn run(&mut self) -> CausalReport
Auto Trait Implementations§
impl !RefUnwindSafe for CausalSim
impl !UnwindSafe for CausalSim
impl Forget for CausalSim
impl Freeze for CausalSim
impl Send for CausalSim
impl Sync for CausalSim
impl Unpin for CausalSim
impl UnsafeUnpin for CausalSim
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