pub enum ProtocolError<F: PrimeField, I: Ideal> {
IdealCheck(IdealCheckError<F, I>),
Resolver(CombinedPolyResolverError<F>),
ScalarProjection(EvaluationError),
MultipointEval(MultipointEvalError<F>),
LiftedEvalProjection(EvaluationError),
Lookup(LookupError),
Pcs(ZipError),
PcsVerification(usize, ZipError),
}Expand description
Error type for error happening during the protocol execution (prover and verifier).
Variants§
IdealCheck(IdealCheckError<F, I>)
Resolver(CombinedPolyResolverError<F>)
ScalarProjection(EvaluationError)
MultipointEval(MultipointEvalError<F>)
LiftedEvalProjection(EvaluationError)
Lookup(LookupError)
Pcs(ZipError)
PcsVerification(usize, ZipError)
Trait Implementations§
Source§impl<F: PrimeField, I: Ideal> Display for ProtocolError<F, I>where
IdealCheckError<F, I>: Display,
CombinedPolyResolverError<F>: Display,
MultipointEvalError<F>: Display,
impl<F: PrimeField, I: Ideal> Display for ProtocolError<F, I>where
IdealCheckError<F, I>: Display,
CombinedPolyResolverError<F>: Display,
MultipointEvalError<F>: Display,
Source§impl<F: PrimeField, I: Ideal> Error for ProtocolError<F, I>where
IdealCheckError<F, I>: Error + 'static,
CombinedPolyResolverError<F>: Error + 'static,
MultipointEvalError<F>: Error + 'static,
Self: Debug + Display,
impl<F: PrimeField, I: Ideal> Error for ProtocolError<F, I>where
IdealCheckError<F, I>: Error + 'static,
CombinedPolyResolverError<F>: Error + 'static,
MultipointEvalError<F>: Error + 'static,
Self: Debug + Display,
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<F: PrimeField, I: Ideal> From<CombinedPolyResolverError<F>> for ProtocolError<F, I>
impl<F: PrimeField, I: Ideal> From<CombinedPolyResolverError<F>> for ProtocolError<F, I>
Source§fn from(source: CombinedPolyResolverError<F>) -> Self
fn from(source: CombinedPolyResolverError<F>) -> Self
Converts to this type from the input type.
Source§impl<F: PrimeField, I: Ideal> From<IdealCheckError<F, I>> for ProtocolError<F, I>
impl<F: PrimeField, I: Ideal> From<IdealCheckError<F, I>> for ProtocolError<F, I>
Source§fn from(source: IdealCheckError<F, I>) -> Self
fn from(source: IdealCheckError<F, I>) -> Self
Converts to this type from the input type.
Source§impl<F: PrimeField, I: Ideal> From<LookupError> for ProtocolError<F, I>
impl<F: PrimeField, I: Ideal> From<LookupError> for ProtocolError<F, I>
Source§fn from(source: LookupError) -> Self
fn from(source: LookupError) -> Self
Converts to this type from the input type.
Source§impl<F: PrimeField, I: Ideal> From<MultipointEvalError<F>> for ProtocolError<F, I>
impl<F: PrimeField, I: Ideal> From<MultipointEvalError<F>> for ProtocolError<F, I>
Source§fn from(source: MultipointEvalError<F>) -> Self
fn from(source: MultipointEvalError<F>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<F, I> Freeze for ProtocolError<F, I>
impl<F, I> RefUnwindSafe for ProtocolError<F, I>where
F: RefUnwindSafe,
I: RefUnwindSafe,
impl<F, I> Send for ProtocolError<F, I>
impl<F, I> Sync for ProtocolError<F, I>
impl<F, I> Unpin for ProtocolError<F, I>
impl<F, I> UnsafeUnpin for ProtocolError<F, I>where
F: UnsafeUnpin,
I: UnsafeUnpin,
impl<F, I> UnwindSafe for ProtocolError<F, I>where
F: UnwindSafe,
I: UnwindSafe,
Blanket Implementations§
§impl<T> AsMaybeUninit for T
impl<T> AsMaybeUninit for T
§type Uninit = MaybeUninit<T>
type Uninit = MaybeUninit<T>
This type in its maybe-uninitialized form.
§fn as_ref_uninit(&self) -> &<T as AsMaybeUninit>::Uninit
fn as_ref_uninit(&self) -> &<T as AsMaybeUninit>::Uninit
Converts a
&self to its maybe-initialized equivalent.§unsafe fn as_mut_uninit(&mut self) -> &mut <T as AsMaybeUninit>::Uninit
unsafe fn as_mut_uninit(&mut self) -> &mut <T as AsMaybeUninit>::Uninit
Converts a
&mut T to its maybe-initialized equivalent. Read more§unsafe fn raw_as_uninit<'a>(raw: *const T) -> &'a <T as AsMaybeUninit>::Uninit
unsafe fn raw_as_uninit<'a>(raw: *const T) -> &'a <T as AsMaybeUninit>::Uninit
Converts a raw pointer to a reference to maybe-uninit. Read more
§unsafe fn raw_mut_as_uninit<'a>(
raw: *mut T,
) -> &'a mut <T as AsMaybeUninit>::Uninit
unsafe fn raw_mut_as_uninit<'a>( raw: *mut T, ) -> &'a mut <T as AsMaybeUninit>::Uninit
Converts a raw mutable pointer to a mutable reference to maybe-uninit. Read more
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more