#[non_exhaustive]pub enum BitRingSwitchProofError {
Width(TranscriptWidth),
Reduction(BitRingSwitchError),
ClaimMismatch,
SuccessorClaimMismatch,
NoReading,
NoSuccessorView,
Sumcheck(SumcheckError),
FinalCheck,
ClaimCount {
expected: usize,
actual: usize,
},
NonEmptyPowWitnesses {
actual: usize,
},
}Expand description
Why a bit-alphabet reduction was rejected.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Width(TranscriptWidth)
A list crossing the wire is not the width the description fixes.
Reduction(BitRingSwitchError)
The reduction could not be run over the point it was set up at.
ClaimMismatch
The claimed evaluation is not the column reading of the element.
SuccessorClaimMismatch
The claimed successor evaluation is not the column reading of the elements.
NoReading
Neither a current nor a successor evaluation was supplied, so nothing is checked.
NoSuccessorView
A successor evaluation was supplied to a reduction without a successor view.
Sumcheck(SumcheckError)
A round of the batched sumcheck failed.
FinalCheck
The surviving claim does not close the sumcheck against the closing weight.
ClaimCount
A batch carries elements or readings for a different number of claims than its setup.
Fields
NonEmptyPowWitnesses
The sumcheck carries grinding witnesses this reduction never searches for.
Trait Implementations§
Source§impl Debug for BitRingSwitchProofError
impl Debug for BitRingSwitchProofError
Source§impl Display for BitRingSwitchProofError
impl Display for BitRingSwitchProofError
impl Eq for BitRingSwitchProofError
Source§impl Error for BitRingSwitchProofError
impl Error for BitRingSwitchProofError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<BitRingSwitchError> for BitRingSwitchProofError
impl From<BitRingSwitchError> for BitRingSwitchProofError
Source§fn from(source: BitRingSwitchError) -> Self
fn from(source: BitRingSwitchError) -> Self
Source§impl From<SumcheckError> for BitRingSwitchProofError
impl From<SumcheckError> for BitRingSwitchProofError
Source§fn from(source: SumcheckError) -> Self
fn from(source: SumcheckError) -> Self
Source§impl From<TranscriptWidth> for BitRingSwitchProofError
impl From<TranscriptWidth> for BitRingSwitchProofError
Source§fn from(source: TranscriptWidth) -> Self
fn from(source: TranscriptWidth) -> Self
Source§impl PartialEq for BitRingSwitchProofError
impl PartialEq for BitRingSwitchProofError
impl StructuralPartialEq for BitRingSwitchProofError
Auto Trait Implementations§
impl Freeze for BitRingSwitchProofError
impl RefUnwindSafe for BitRingSwitchProofError
impl Send for BitRingSwitchProofError
impl Sync for BitRingSwitchProofError
impl Unpin for BitRingSwitchProofError
impl UnsafeUnpin for BitRingSwitchProofError
impl UnwindSafe for BitRingSwitchProofError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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