pub trait Validatable {
// Required method
fn validate(&self, ctx: &ValidationContext<'_>) -> Result<(), ProgramError>;
}Expand description
Trait for validation runnables (groups and graphs).
Required Methods§
Sourcefn validate(&self, ctx: &ValidationContext<'_>) -> Result<(), ProgramError>
fn validate(&self, ctx: &ValidationContext<'_>) -> Result<(), ProgramError>
Run validation against the given context.