pub enum PredicateVerificationFailed {
OutOfGas,
InvalidOwner,
False,
Io(Error),
}
Expand description
Predicates checking failed
Variants§
OutOfGas
The transaction doesn’t contain enough gas to evaluate the predicate
InvalidOwner
The predicate owner does not correspond to the predicate code
False
The predicate wasn’t successfully evaluated to true
Io(Error)
An unexpected error occurred.
Trait Implementations§
source§impl Debug for PredicateVerificationFailed
impl Debug for PredicateVerificationFailed
source§impl Error for PredicateVerificationFailed
impl Error for PredicateVerificationFailed
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Bug> for PredicateVerificationFailed
impl From<Bug> for PredicateVerificationFailed
source§impl From<Error> for PredicateVerificationFailed
impl From<Error> for PredicateVerificationFailed
source§impl From<InterpreterError> for PredicateVerificationFailed
impl From<InterpreterError> for PredicateVerificationFailed
source§fn from(error: InterpreterError) -> Self
fn from(error: InterpreterError) -> Self
Converts to this type from the input type.
source§impl From<PredicateVerificationFailed> for CheckError
impl From<PredicateVerificationFailed> for CheckError
source§fn from(error: PredicateVerificationFailed) -> Self
fn from(error: PredicateVerificationFailed) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PredicateVerificationFailed
impl Send for PredicateVerificationFailed
impl Sync for PredicateVerificationFailed
impl Unpin for PredicateVerificationFailed
impl !UnwindSafe for PredicateVerificationFailed
Blanket Implementations§
source§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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