pub enum ZipError {
InvalidPcsParam(String),
InvalidPcsOpen(String),
InvalidSnark(String),
Serialization(String),
Transcript(ErrorKind, String),
PolynomialEvaluationError(EvaluationError),
InnerProductError(InnerProductError),
}Variants§
InvalidPcsParam(String)
InvalidPcsOpen(String)
InvalidSnark(String)
Serialization(String)
Transcript(ErrorKind, String)
PolynomialEvaluationError(EvaluationError)
InnerProductError(InnerProductError)
Trait Implementations§
Source§impl Error for ZipError
impl Error for ZipError
1.30.0 · 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 From<EvaluationError> for ZipError
impl From<EvaluationError> for ZipError
Source§fn from(err: EvaluationError) -> Self
fn from(err: EvaluationError) -> Self
Converts to this type from the input type.
Source§impl From<InnerProductError> for ZipError
impl From<InnerProductError> for ZipError
Source§fn from(err: InnerProductError) -> Self
fn from(err: InnerProductError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ZipError
Auto Trait Implementations§
impl Freeze for ZipError
impl RefUnwindSafe for ZipError
impl Send for ZipError
impl Sync for ZipError
impl Unpin for ZipError
impl UnsafeUnpin for ZipError
impl UnwindSafe for ZipError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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