Enum ark_relations::r1cs::SynthesisError[][src]

pub enum SynthesisError {
    MissingCS,
    AssignmentMissing,
    DivisionByZero,
    Unsatisfiable,
    PolynomialDegreeTooLarge,
    UnexpectedIdentity,
    MalformedVerifyingKey,
    UnconstrainedVariable,
}

This is an error that could occur during circuit synthesis contexts, such as CRS generation, proving or verification.

Variants

MissingCS

During synthesis, we tried to allocate a variable when ConstraintSystemRef was None.

AssignmentMissing

During synthesis, we lacked knowledge of a variable assignment.

DivisionByZero

During synthesis, we divided by zero.

Unsatisfiable

During synthesis, we constructed an unsatisfiable constraint system.

PolynomialDegreeTooLarge

During synthesis, our polynomials ended up being too high of degree

UnexpectedIdentity

During proof generation, we encountered an identity in the CRS

MalformedVerifyingKey

During verification, our verifying key was malformed.

UnconstrainedVariable

During CRS generation, we observed an unconstrained auxiliary variable

Trait Implementations

impl Clone for SynthesisError[src]

impl Copy for SynthesisError[src]

impl Debug for SynthesisError[src]

impl Display for SynthesisError[src]

impl Eq for SynthesisError[src]

impl Error for SynthesisError[src]

impl PartialEq<SynthesisError> for SynthesisError[src]

impl StructuralEq for SynthesisError[src]

impl StructuralPartialEq for SynthesisError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,