[−][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
This error occurs when the user tries to create PublicParameters and supplies the max degree as zero.
This error occurs when the user tries to trim PublicParameters to a degree that is larger than the maximum degree.
This error occurs when the user tries to trim PublicParameters down to a degree that is zero.
This error occurs when the user tries to commit to a polynomial whose degree is larger than the supported degree for that proving key.
This error occurs when the user tries to commit to a polynomial whose degree is zero.
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][+]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
[+]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[+]
E: 'static + Error + Send + Sync,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,