pub enum EvalError {
OnChain(OnChainError),
NotSupported(NotSupportedError),
Require(RequireError),
}
Expand description
Eval error. On-chain error, not-supported error or require error.
Variants
OnChain(OnChainError)
On chain error.
NotSupported(NotSupportedError)
Off chain error due to VM not supported.
Require(RequireError)
Require error for additional accounts.
Trait Implementations
sourceimpl From<EvalOnChainError> for EvalError
impl From<EvalOnChainError> for EvalError
sourcefn from(val: EvalOnChainError) -> EvalError
fn from(val: EvalOnChainError) -> EvalError
Converts to this type from the input type.
sourceimpl From<NotSupportedError> for EvalError
impl From<NotSupportedError> for EvalError
sourcefn from(val: NotSupportedError) -> EvalError
fn from(val: NotSupportedError) -> EvalError
Converts to this type from the input type.
sourceimpl From<OnChainError> for EvalError
impl From<OnChainError> for EvalError
sourcefn from(val: OnChainError) -> EvalError
fn from(val: OnChainError) -> EvalError
Converts to this type from the input type.
sourceimpl From<RequireError> for EvalError
impl From<RequireError> for EvalError
sourcefn from(val: RequireError) -> EvalError
fn from(val: RequireError) -> EvalError
Converts to this type from the input type.
sourceimpl From<RuntimeError> for EvalError
impl From<RuntimeError> for EvalError
sourcefn from(val: RuntimeError) -> EvalError
fn from(val: RuntimeError) -> EvalError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for EvalError
impl Send for EvalError
impl Sync for EvalError
impl Unpin for EvalError
impl UnwindSafe for EvalError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more