Validator

Trait Validator 

Source
pub trait Validator: Send + Sync {
    // Provided method
    fn validate(&self) -> Result { ... }
}
Expand description

The trait implemented by types that require validation logic.

Provided Methods§

Source

fn validate(&self) -> Result

Implementors§