Type Alias SimpleResult

Source
pub type SimpleResult<T> = Result<T, SimpleError>;
Expand description

Result type in which the error is a simple error

Aliased Type§

enum SimpleResult<T> {
    Ok(T),
    Err(SimpleError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SimpleError)

Contains the error value