Struct dvcompute_dist::simulation::simulation::SimulationBox [−][src]
pub struct SimulationBox<T> { /* fields omitted */ }Expand description
It represents the boxed Simulation computation.
Trait Implementations
type Item = T
type Item = T
The type of the item that is returned in within the simulation run.
Convert into a boxed value.
Convert into the Event computation.
Convert to the Process computation.
Convert into the Composite computation.
Bind the current computation with its continuation within the resulting computation.
Map the current computation using the specified transform.
Zip the current computation with another one within the resulting computation.
The function application.
Finalize the current computation regardless of canceling it or not.
Run the simulation.
fn run_by_index(
self,
specs: Specs,
ctx: &LogicalProcessContext,
run_index: usize,
run_count: usize
) -> Result<Self::Item> where
Self: Sized,
fn run_by_index(
self,
specs: Specs,
ctx: &LogicalProcessContext,
run_index: usize,
run_count: usize
) -> Result<Self::Item> where
Self: Sized,
Run the simulation by index.
Auto Trait Implementations
impl<T> !RefUnwindSafe for SimulationBox<T>
impl<T> !Send for SimulationBox<T>
impl<T> !Sync for SimulationBox<T>
impl<T> Unpin for SimulationBox<T>
impl<T> !UnwindSafe for SimulationBox<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
type Simulation = M
type Simulation = M
The target computation.
type Item = <M as Simulation>::Item
type Item = <M as Simulation>::Item
The type of item that is returned by the computation.
Convert to the Simulation computation.
