Enum snarkvm_algorithms::errors::SNARKError  
source · pub enum SNARKError {
    AnyhowError(Error),
    ConstraintFieldError(ConstraintFieldError),
    Crate(&'static str, String),
    ExpectedCircuitSpecificSRS,
    Message(String),
    SynthesisError(SynthesisError),
    EmptyBatch,
    BatchSizeMismatch,
    CircuitNotFound,
    Terminated,
}Variants§
AnyhowError(Error)
ConstraintFieldError(ConstraintFieldError)
Crate(&'static str, String)
ExpectedCircuitSpecificSRS
Message(String)
SynthesisError(SynthesisError)
EmptyBatch
BatchSizeMismatch
CircuitNotFound
Terminated
Trait Implementations§
source§impl Debug for SNARKError
 
impl Debug for SNARKError
source§impl Display for SNARKError
 
impl Display for SNARKError
source§impl Error for SNARKError
 
impl Error for SNARKError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ConstraintFieldError> for SNARKError
 
impl From<ConstraintFieldError> for SNARKError
source§fn from(source: ConstraintFieldError) -> Self
 
fn from(source: ConstraintFieldError) -> Self
Converts to this type from the input type.
source§impl From<Error> for SNARKError
 
impl From<Error> for SNARKError
source§impl From<PCError> for SNARKError
 
impl From<PCError> for SNARKError
source§impl From<SynthesisError> for SNARKError
 
impl From<SynthesisError> for SNARKError
source§fn from(source: SynthesisError) -> Self
 
fn from(source: SynthesisError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SNARKError
impl Send for SNARKError
impl Sync for SNARKError
impl Unpin for SNARKError
impl !UnwindSafe for SNARKError
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