Type Alias sui_types::error::UserInputResult

source ·
pub type UserInputResult<T = ()> = Result<T, UserInputError>;

Aliased Type§

enum UserInputResult<T = ()> {
    Ok(T),
    Err(UserInputError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(UserInputError)

Contains the error value