Skip to main content

Checkable

Trait Checkable 

Source
pub trait Checkable {
    // Required methods
    fn check(&self) -> CheckResult;
    fn check_with_config(&self, config: CheckerConfig) -> CheckResult;
}
Expand description

Trait for types that can be checked for validity

Required Methods§

Source

fn check(&self) -> CheckResult

Check if the proof is valid

Source

fn check_with_config(&self, config: CheckerConfig) -> CheckResult

Check using a custom checker configuration

Implementors§