pub trait Validate {
    type Error;

    // Required method
    fn validate(&self) -> Result<(), Self::Error>;
}
Available on crate feature next only.

Required Associated Types§

Required Methods§

source

fn validate(&self) -> Result<(), Self::Error>

Implementors§