Enum snarkvm_algorithms::snark::marlin::MarlinError
source · pub enum MarlinError {
IndexTooLarge(usize, usize),
AHPError(AHPError),
R1CSError(SynthesisError),
PolynomialCommitmentError(PCError),
Terminated,
}
Expand description
A enum
specifying the possible failure modes of Marlin
.
Variants
IndexTooLarge(usize, usize)
The index is too large for the universal public parameters.
AHPError(AHPError)
There was an error in the underlying holographic IOP.
R1CSError(SynthesisError)
There was a synthesis error.
PolynomialCommitmentError(PCError)
There was an error in the underlying polynomial commitment.
Terminated
Trait Implementations
sourceimpl Debug for MarlinError
impl Debug for MarlinError
sourceimpl From<AHPError> for MarlinError
impl From<AHPError> for MarlinError
sourceimpl From<MarlinError> for SNARKError
impl From<MarlinError> for SNARKError
sourcefn from(error: MarlinError) -> Self
fn from(error: MarlinError) -> Self
Converts to this type from the input type.
sourceimpl From<PCError> for MarlinError
impl From<PCError> for MarlinError
sourceimpl From<SynthesisError> for MarlinError
impl From<SynthesisError> for MarlinError
sourcefn from(err: SynthesisError) -> Self
fn from(err: SynthesisError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for MarlinError
impl Send for MarlinError
impl Sync for MarlinError
impl Unpin for MarlinError
impl !UnwindSafe for MarlinError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more