pub trait VerificationStrategy<'params, Scheme: CommitmentScheme, V: Verifier<'params, Scheme>> {
type Output;
// Required methods
fn new(params: &'params Scheme::ParamsVerifier) -> Self;
fn process(
self,
f: impl FnOnce(V::MSMAccumulator) -> Result<V::Guard, Error>,
) -> Result<Self::Output, Error>;
fn finalize(self) -> bool;
}
Expand description
Trait representing a strategy for verifying Halo 2 proofs.
Required Associated Types§
Required Methods§
Sourcefn new(params: &'params Scheme::ParamsVerifier) -> Self
fn new(params: &'params Scheme::ParamsVerifier) -> Self
Creates new verification strategy instance
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.