pub type SimTransitionResult<S, L, A, Next> = Result<CuSimAppLifecycle<S, L, A, Next>, SimLifecycleError<S, L, A>>;Expand description
Result of a simulation lifecycle transition: on success the application
typed with its new state, on failure SimLifecycleError carrying the
application typed Faulted.
Aliased Type§
pub enum SimTransitionResult<S, L, A, Next> {
Ok(CuSimAppLifecycle<S, L, A, Next>),
Err(SimLifecycleError<S, L, A>),
}Variants§
Ok(CuSimAppLifecycle<S, L, A, Next>)
Contains the success value
Err(SimLifecycleError<S, L, A>)
Contains the error value