archunit

Type Alias CheckResult

Source
pub type CheckResult = Result<Vec<Violation>, ArchUnitError>;
Expand description

The complete outcome of running one architecture rule.

Ok(Vec::new()) passes, Ok with violations is an architecture disagreement, and Err means no verdict could be reached.

Aliased Type§

enum CheckResult {
    Ok(Vec<Violation>),
    Err(ArchUnitError),
}

Variants§

§1.0.0

Ok(Vec<Violation>)

Contains the success value

§1.0.0

Err(ArchUnitError)

Contains the error value