pub trait Validator {
// Required methods
fn validate(&self, file: &VaultFile) -> ValidationReport;
fn name(&self) -> &str;
}Expand description
Trait for content validators
Required Methods§
Sourcefn validate(&self, file: &VaultFile) -> ValidationReport
fn validate(&self, file: &VaultFile) -> ValidationReport
Validate content and return a report