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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".