Skip to main content

Crate configbuilder_pattern_validator

Crate configbuilder_pattern_validator 

Source
Expand description

configbuilder-pattern-validator — the validator domain’s trait contract (Validator, ValidatorOps, ValidatorBound, ValidatorError) and its tech-agnostic reference implementation: DefaultValidator (the { ops: Box<dyn ValidatorOps> } generic dispatch shell, renamed off *Impl here).

The real, filesystem-backed ValidatorOps implementor lives in configbuilder-svc-validator-spi instead.

Structs§

DefaultValidator
Reference Validator implementation: a generic dispatch shell over any real ValidatorOps implementor.

Enums§

ValidatorError
Errors returned by path validation ports.

Traits§

Validator
Validates a filesystem path before it is used as a config directory.
ValidatorBound
API contract marker for the reference path validator.
ValidatorOps
Type-erased path validation used internally by crate::DefaultValidator.