neon::result

Type Alias NeonResult

Source
pub type NeonResult<T> = Result<T, Throw>;
Expand description

The result type for throwing APIs.

Aliased Type§

enum NeonResult<T> {
    Ok(T),
    Err(Throw),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Throw)

Contains the error value