pub enum BooleanityError<F: PrimeField> {
NoBinaryPolyColumns,
SumcheckError(SumCheckError<F>),
NonZeroClaimedSum {
got: F,
},
WrongBitSliceEvalsNumber {
expected: usize,
got: usize,
},
ClaimValueDoesNotMatch {
expected: F,
got: F,
},
MleEvaluationError(EvaluationError),
Arith(ArithErrors),
}Expand description
Errors from the booleanity subprotocol.
Variants§
NoBinaryPolyColumns
SumcheckError(SumCheckError<F>)
NonZeroClaimedSum
Fields
§
got: FWrongBitSliceEvalsNumber
ClaimValueDoesNotMatch
MleEvaluationError(EvaluationError)
Arith(ArithErrors)
Trait Implementations§
Source§impl<F: Debug + PrimeField> Debug for BooleanityError<F>
impl<F: Debug + PrimeField> Debug for BooleanityError<F>
Source§impl<F> Display for BooleanityError<F>
impl<F> Display for BooleanityError<F>
Source§impl<F: PrimeField> Error for BooleanityError<F>
impl<F: PrimeField> Error for BooleanityError<F>
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> From<ArithErrors> for BooleanityError<F>
impl<F: PrimeField> From<ArithErrors> for BooleanityError<F>
Source§fn from(source: ArithErrors) -> Self
fn from(source: ArithErrors) -> Self
Converts to this type from the input type.
Source§impl<F: PrimeField> From<EvaluationError> for BooleanityError<F>
impl<F: PrimeField> From<EvaluationError> for BooleanityError<F>
Source§fn from(source: EvaluationError) -> Self
fn from(source: EvaluationError) -> Self
Converts to this type from the input type.
Source§impl<F: PrimeField> From<SumCheckError<F>> for BooleanityError<F>
impl<F: PrimeField> From<SumCheckError<F>> for BooleanityError<F>
Source§fn from(source: SumCheckError<F>) -> Self
fn from(source: SumCheckError<F>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<F> Freeze for BooleanityError<F>where
F: Freeze,
impl<F> RefUnwindSafe for BooleanityError<F>where
F: RefUnwindSafe,
impl<F> Send for BooleanityError<F>
impl<F> Sync for BooleanityError<F>
impl<F> Unpin for BooleanityError<F>where
F: Unpin,
impl<F> UnsafeUnpin for BooleanityError<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for BooleanityError<F>where
F: UnwindSafe,
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
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