Trait Validator

Source
pub trait Validator {
    // Required method
    fn validate(&self) -> Result<(), SemanticValidationError>;
}

Required Methods§

Source

fn validate(&self) -> Result<(), SemanticValidationError>

§Errors

Will return an error if the configuration is invalid.

Implementors§