pub trait ListValidator<List, Out, Err> {
// Required method
fn validate(self, values: &List) -> Result<Out, Err>;
}
Expand description
Marker trait for types that can validate a list of values into something potentially fallible.
There are default implementations for FnMut
closures with up to 10
reference arguments.