Validate

Trait Validate 

Source
pub trait Validate {
    // Required method
    fn validate(&self) -> impl IntoIterator<Item = Problem>;
}
Expand description

Check the implementor validity.

Required Methods§

Source

fn validate(&self) -> impl IntoIterator<Item = Problem>

Check critical requirements, returns it as errors. Also returns warnings fo not so critical problems. Use it before render the final result.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§