Type Alias OpResult

Source
pub type OpResult<T> = Result<T, OpError>;
Expand description

Shorthand for a Result where the error type is an OpError.

Aliased Type§

enum OpResult<T> {
    Ok(T),
    Err(OpError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(OpError)

Contains the error value