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