Type Alias wagon_value::ValueResult

source ·
pub type ValueResult<T, U> = Result<T, ValueError<U>>;
Expand description

A result type for operations on a Valueable.

Either returns something of type T. Or a ValueError over U.

Aliased Type§

enum ValueResult<T, U> {
    Ok(T),
    Err(ValueError<U>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ValueError<U>)

Contains the error value