pub struct Simulation<C: Ctx> { /* private fields */ }Expand description
A configured simulation ready to run.
Contains all the necessary components including the setup data, node spawners, and tracing client to execute a simulation run.
Implementations§
Auto Trait Implementations§
impl<C> Freeze for Simulation<C>
impl<C> !RefUnwindSafe for Simulation<C>
impl<C> !Send for Simulation<C>
impl<C> !Sync for Simulation<C>
impl<C> Unpin for Simulation<C>
impl<C> !UnwindSafe for Simulation<C>
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