Enum kimchi::circuits::gate::CircuitGateError
source · pub enum CircuitGateError {
InvalidConstraint(GateType),
Constraint(GateType, usize),
WireColumn(GateType, usize),
CopyConstraint {
typ: GateType,
src: Wire,
dst: Wire,
},
InvalidLookupConstraint(GateType),
FailedToGetWitnessForRow(GateType, usize),
}
Expand description
Gate error
Variants§
InvalidConstraint(GateType)
Invalid constraint
Constraint(GateType, usize)
Invalid constraint with number
WireColumn(GateType, usize)
Invalid wire column
CopyConstraint
Disconnected wires
InvalidLookupConstraint(GateType)
Invalid lookup
FailedToGetWitnessForRow(GateType, usize)
Failed to get witness for row
Trait Implementations§
source§impl Clone for CircuitGateError
impl Clone for CircuitGateError
source§fn clone(&self) -> CircuitGateError
fn clone(&self) -> CircuitGateError
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 CircuitGateError
impl Debug for CircuitGateError
source§impl Display for CircuitGateError
impl Display for CircuitGateError
source§impl Error for CircuitGateError
impl Error for CircuitGateError
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()
source§impl PartialEq<CircuitGateError> for CircuitGateError
impl PartialEq<CircuitGateError> for CircuitGateError
source§fn eq(&self, other: &CircuitGateError) -> bool
fn eq(&self, other: &CircuitGateError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CircuitGateError
impl Eq for CircuitGateError
impl StructuralEq for CircuitGateError
impl StructuralPartialEq for CircuitGateError
Auto Trait Implementations§
impl RefUnwindSafe for CircuitGateError
impl Send for CircuitGateError
impl Sync for CircuitGateError
impl Unpin for CircuitGateError
impl UnwindSafe for CircuitGateError
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more