pub trait Oracle: Send + Sync {
// Required methods
fn id(&self) -> &'static str;
fn kind(&self) -> OracleKind;
fn applicable_to(&self, op: &OpSpec) -> bool;
fn verify(&self, ctx: &VerifyCtx<'_>) -> Result<(), Violation>;
}Expand description
Independent proof source for expected conformance output.
Required Methods§
Sourcefn applicable_to(&self, op: &OpSpec) -> bool
fn applicable_to(&self, op: &OpSpec) -> bool
Whether this oracle can verify the supplied operation.