specler 0.21.0

A simple way to write specifications on values
Documentation
1
2
3
use crate::core::validator::validator_result::ValidatorResult;

pub type ValidatorFn<T> = Box<dyn Fn(T) -> ValidatorResult>;