pub enum UniversalSetupIndexError<Bound, E> {
NeedLargerBound(Bound),
Other(E),
}Expand description
A helper type for universal-setup SNARKs, which must infer their computation size bounds.
Variants§
NeedLargerBound(Bound)
The provided universal public parameters were insufficient to encode the given circuit.
Other(E)
Other errors occurred during indexing.
Auto Trait Implementations§
impl<Bound, E> Freeze for UniversalSetupIndexError<Bound, E>
impl<Bound, E> RefUnwindSafe for UniversalSetupIndexError<Bound, E>where
Bound: RefUnwindSafe,
E: RefUnwindSafe,
impl<Bound, E> Send for UniversalSetupIndexError<Bound, E>
impl<Bound, E> Sync for UniversalSetupIndexError<Bound, E>
impl<Bound, E> Unpin for UniversalSetupIndexError<Bound, E>
impl<Bound, E> UnwindSafe for UniversalSetupIndexError<Bound, E>where
Bound: UnwindSafe,
E: 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