pub enum AHPError {
AnyhowError(Error),
BatchSizeIsZero,
ConstraintSystemError(SynthesisError),
InstanceDoesNotMatchIndex,
InvalidPublicInputLength,
MissingEval(String),
NonSquareMatrix,
PolyTooLarge,
}
Expand description
Describes the failure modes of the AHP scheme.
Variants§
AnyhowError(Error)
BatchSizeIsZero
ConstraintSystemError(SynthesisError)
InstanceDoesNotMatchIndex
InvalidPublicInputLength
MissingEval(String)
NonSquareMatrix
PolyTooLarge
Trait Implementations§
Source§impl Error for AHPError
impl Error for AHPError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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 Freeze for AHPError
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