Enum sputnikvm::errors::EvalOnChainError
source · pub enum EvalOnChainError {
OnChain(OnChainError),
Require(RequireError),
}
Expand description
Eval on-chain error. Can either be an on-chain error or a require error.
Variants
OnChain(OnChainError)
On chain error.
Require(RequireError)
Require error for additional accounts.
Trait Implementations
sourceimpl Clone for EvalOnChainError
impl Clone for EvalOnChainError
sourcefn clone(&self) -> EvalOnChainError
fn clone(&self) -> EvalOnChainError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EvalOnChainError
impl Debug for EvalOnChainError
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<OnChainError> for EvalOnChainError
impl From<OnChainError> for EvalOnChainError
sourcefn from(val: OnChainError) -> EvalOnChainError
fn from(val: OnChainError) -> EvalOnChainError
Converts to this type from the input type.
sourceimpl From<RequireError> for EvalOnChainError
impl From<RequireError> for EvalOnChainError
sourcefn from(val: RequireError) -> EvalOnChainError
fn from(val: RequireError) -> EvalOnChainError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for EvalOnChainError
impl Send for EvalOnChainError
impl Sync for EvalOnChainError
impl Unpin for EvalOnChainError
impl UnwindSafe for EvalOnChainError
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