pub enum ConstraintFieldError {
Crate(&'static str, String),
Message(String),
SynthesisError(SynthesisError),
}
Variants§
Trait Implementations§
Source§impl Debug for ConstraintFieldError
impl Debug for ConstraintFieldError
Source§impl Display for ConstraintFieldError
impl Display for ConstraintFieldError
Source§impl Error for ConstraintFieldError
impl Error for ConstraintFieldError
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<ConstraintFieldError> for PoswError
impl From<ConstraintFieldError> for PoswError
Source§fn from(source: ConstraintFieldError) -> Self
fn from(source: ConstraintFieldError) -> Self
Converts to this type from the input type.
Source§impl From<ConstraintFieldError> for SNARKError
impl From<ConstraintFieldError> for SNARKError
Source§fn from(error: ConstraintFieldError) -> Self
fn from(error: ConstraintFieldError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ConstraintFieldError
impl From<Error> for ConstraintFieldError
Source§impl From<SynthesisError> for ConstraintFieldError
impl From<SynthesisError> for ConstraintFieldError
Source§fn from(error: SynthesisError) -> Self
fn from(error: SynthesisError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConstraintFieldError
impl !RefUnwindSafe for ConstraintFieldError
impl Send for ConstraintFieldError
impl Sync for ConstraintFieldError
impl Unpin for ConstraintFieldError
impl !UnwindSafe for ConstraintFieldError
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