pub type ValueValidator = fn(&OsStr) -> Result<()>;
User-pluggable validator for a single value (OsStr-based, cross-platform).