[][src]Enum dusk_plonk::commitment_scheme::kzg10::errors::KZG10Errors

pub enum KZG10Errors {
    DegreeIsZero,
    TruncatedDegreeTooLarge,
    TruncatedDegreeIsZero,
    PolynomialDegreeTooLarge,
    PolynomialDegreeIsZero,
    PairingCheckFailure,
}

Represents an error in the PublicParameters creation and or modification.

Variants

DegreeIsZero

This error occurs when the user tries to create PublicParameters and supplies the max degree as zero.

TruncatedDegreeTooLarge

This error occurs when the user tries to trim PublicParameters to a degree that is larger than the maximum degree.

TruncatedDegreeIsZero

This error occurs when the user tries to trim PublicParameters down to a degree that is zero.

PolynomialDegreeTooLarge

This error occurs when the user tries to commit to a polynomial whose degree is larger than the supported degree for that proving key.

PolynomialDegreeIsZero

This error occurs when the user tries to commit to a polynomial whose degree is zero.

PairingCheckFailure

This error occurs when the pairing check fails at being equal to the Identity point.

Trait Implementations

impl Debug for KZG10Errors[src]

impl Display for KZG10Errors[src]

impl Fail for KZG10Errors[src]

Auto Trait Implementations

impl RefUnwindSafe for KZG10Errors

impl Send for KZG10Errors

impl Sync for KZG10Errors

impl Unpin for KZG10Errors

impl UnwindSafe for KZG10Errors

Blanket Implementations

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

impl<T> AsFail for T where
    T: Fail, 

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

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

impl<E> Fail for E where
    E: 'static + Error + Send + Sync

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

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

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>,