pub enum AHPError {
ConstraintSystemError(SynthesisError),
InstanceDoesNotMatchIndex,
InvalidPublicInputLength,
MissingEval(String),
NonSquareMatrix,
PolynomialDegreeTooLarge,
}
Expand description
Describes the failure modes of the AHP scheme.
Variants
ConstraintSystemError(SynthesisError)
An error occurred during constraint generation.
InstanceDoesNotMatchIndex
The instance generated during proving does not match that in the index.
InvalidPublicInputLength
The number of public inputs is incorrect.
MissingEval(String)
During verification, a required evaluation is missing
NonSquareMatrix
Currently we only support square constraint matrices.
PolynomialDegreeTooLarge
During synthesis, our polynomials ended up being too high of degree
Trait Implementations
sourceimpl From<AHPError> for MarlinError
impl From<AHPError> for MarlinError
sourceimpl From<AHPError> for SNARKError
impl From<AHPError> for SNARKError
sourceimpl From<SynthesisError> for AHPError
impl From<SynthesisError> for AHPError
sourcefn from(other: SynthesisError) -> Self
fn from(other: SynthesisError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for AHPError
impl Send for AHPError
impl Sync for AHPError
impl Unpin for AHPError
impl !UnwindSafe for AHPError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more