[][src]Trait semval::Validate

pub trait Validate {
    type Validation: Validation;
    fn validate(&self) -> Result<Self::Validation>;
}

A trait for validating types

Validation is expected to be an expensive operation that should only be invoked when crossing boundaries between independent components.

Associated Types

type Validation: Validation

Validation objectives

Loading content...

Required methods

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

Perform the validation

Loading content...

Implementors

Loading content...