Type Alias ComputeResult

Source
pub type ComputeResult<T, E> = Result<T, ComputeError<E>>;
Expand description

Shorthand for a Result where the error type is a ComputeError.

Aliased Type§

pub enum ComputeResult<T, E> {
    Ok(T),
    Err(ComputeError<E>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ComputeError<E>)

Contains the error value