pub enum AHPError {
BatchSizeIsZero,
ConstraintSystemError(SynthesisError),
InstanceDoesNotMatchIndex,
InvalidPublicInputLength,
MissingEval(String),
NonSquareMatrix,
PolynomialDegreeTooLarge,
}
Expand description
Describes the failure modes of the AHP scheme.
Variants§
BatchSizeIsZero
The batch size is zero.
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§
source§impl From<AHPError> for SNARKError
impl From<AHPError> for SNARKError
source§impl From<SynthesisError> for AHPError
impl From<SynthesisError> for AHPError
source§fn 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more