ListValidator

Trait ListValidator 

Source
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.

Required Methods§

Source

fn validate(self, values: &List) -> Result<Out, Err>

Transform an input. May fails doing so.

Implementors§