Trait omf::validate::Validate

source ·
pub trait Validate {
    // Provided method
    fn validate(&mut self) -> Result<Problems, Problems> { ... }
}

Provided Methods§

source

fn validate(&mut self) -> Result<Problems, Problems>

Call to validate the object, returning errors and warnings.

The Ok value is a Problems object contain that is either empty or contains only warnings. The Err value is a Problems object containing at least one error.

Implementations on Foreign Types§

source§

impl<T: Validate> Validate for Option<T>

Implementors§