Skip to main content

VerificationRule

Trait VerificationRule 

Source
pub trait VerificationRule {
    // Required method
    fn check(
        &self,
        context: &VerificationContext,
        result: &mut VerificationResult,
    ) -> Result<()>;
}

Required Methods§

Source

fn check( &self, context: &VerificationContext, result: &mut VerificationResult, ) -> Result<()>

§Errors

Returns an error if the rule check cannot be completed.

Implementors§