pub trait ValidatorOps: Send + Sync {
// Required method
fn check_path(&self, target: &Path) -> Result<(), ValidatorError>;
}Expand description
Type-erased path validation used internally by crate::DefaultValidator.
Required Methods§
Sourcefn check_path(&self, target: &Path) -> Result<(), ValidatorError>
fn check_path(&self, target: &Path) -> Result<(), ValidatorError>
Returns Ok(()) when target is a valid config path, Err otherwise.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".