pub trait LookupContext {
    fn lookup_rule<'a>(
        &'a self,
        name: &str
    ) -> Result<&'a RuleDef, ValidateError>; }
Expand description

A LookupContext contains any external information required for validation.

Right now, that only includes a function that understands how to resolve a name reference to an ivt::Rule.

Required methods

Lookup a rule by name.

Implementors