pub type ContinuousStrategyResult<E, M, Err> = Result<ActiveExecutorContext<E, M>, (ActiveExecutorContext<E, M>, Err)>;Expand description
The result type for simulation continuation strategies.
On success (Ok), it returns an ActiveExecutorContext to proceed to the
next simulation step. On failure (Err), it returns the current context
along with a strategy-specific error, allowing the simulation to terminate
gracefully or be debugged.
Aliased Type§
pub enum ContinuousStrategyResult<E, M, Err> {
Ok(ActiveExecutorContext<E, M>),
Err((ActiveExecutorContext<E, M>, Err)),
}Variants§
Ok(ActiveExecutorContext<E, M>)
Contains the success value
Err((ActiveExecutorContext<E, M>, Err))
Contains the error value