Skip to main content

Validatable

Trait Validatable 

Source
pub trait Validatable {
    // Required method
    fn validate(&self, ctx: &ValidationContext<'_>) -> ProgramResult;
}
Expand description

Trait for validation runnables (groups and graphs).

Required Methods§

Source

fn validate(&self, ctx: &ValidationContext<'_>) -> ProgramResult

Run validation against the given context.

Implementors§