pub trait Checkable {
// Required method
fn check_with(&self, options: &CheckOptions) -> CheckResult;
// Provided method
fn check(&self) -> CheckResult { ... }
}Expand description
A terminal architecture rule that can judge a project.
Building a fluent rule is lazy; only these methods may touch the filesystem. Test helpers and report consumers depend on this trait rather than on individual rule families.
Required Methods§
Sourcefn check_with(&self, options: &CheckOptions) -> CheckResult
fn check_with(&self, options: &CheckOptions) -> CheckResult
Runs the rule with an explicit immutable options bag.
Provided Methods§
Sourcefn check(&self) -> CheckResult
fn check(&self) -> CheckResult
Runs the rule with the strict, quiet defaults from CheckOptions.