Type Alias modalkit::errors::UIResult

source ·
pub type UIResult<V, I> = Result<V, UIError<I>>;
Expand description

Common result type for rendering and application functions.

Aliased Type§

enum UIResult<V, I> {
    Ok(V),
    Err(UIError<I>),
}

Variants§

§1.0.0

Ok(V)

Contains the success value

§1.0.0

Err(UIError<I>)

Contains the error value