Enum kimchi::snarky::errors::SnarkyRuntimeError
source · pub enum SnarkyRuntimeError {
UnsatisfiedGenericConstraint(String, String, String, String, String, String, String, String, usize),
UnsatisfiedBooleanConstraint(usize, String),
UnsatisfiedEqualConstraint(usize, String, String),
UnsatisfiedSquareConstraint(usize, String, String),
UnsatisfiedR1CSConstraint(usize, String, String, String),
PubInputMismatch(usize, usize),
CircuitReturnVar(usize, usize),
}
Expand description
Errors that can occur during runtime (proving).
Variants§
UnsatisfiedGenericConstraint(String, String, String, String, String, String, String, String, usize)
UnsatisfiedBooleanConstraint(usize, String)
UnsatisfiedEqualConstraint(usize, String, String)
UnsatisfiedSquareConstraint(usize, String, String)
UnsatisfiedR1CSConstraint(usize, String, String, String)
PubInputMismatch(usize, usize)
CircuitReturnVar(usize, usize)
Trait Implementations§
source§impl Clone for SnarkyRuntimeError
impl Clone for SnarkyRuntimeError
source§fn clone(&self) -> SnarkyRuntimeError
fn clone(&self) -> SnarkyRuntimeError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SnarkyRuntimeError
impl Debug for SnarkyRuntimeError
source§impl Display for SnarkyRuntimeError
impl Display for SnarkyRuntimeError
source§impl Error for SnarkyRuntimeError
impl Error for SnarkyRuntimeError
1.30.0 · 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()
Auto Trait Implementations§
impl RefUnwindSafe for SnarkyRuntimeError
impl Send for SnarkyRuntimeError
impl Sync for SnarkyRuntimeError
impl Unpin for SnarkyRuntimeError
impl UnwindSafe for SnarkyRuntimeError
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