Type Alias ConstraintResult

Source
pub type ConstraintResult<T> = Result<T, ConstraintError>;
Expand description

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

Aliased Type§

enum ConstraintResult<T> {
    Ok(T),
    Err(ConstraintError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ConstraintError)

Contains the error value