Enum sputnikvm::errors::RuntimeError
source · pub enum RuntimeError {
OnChain(OnChainError),
NotSupported(NotSupportedError),
}
Expand description
Runtime error. Can either be an on-chain error or a not-supported error.
Variants
OnChain(OnChainError)
On chain error.
NotSupported(NotSupportedError)
Off chain error due to VM not supported.
Trait Implementations
sourceimpl Clone for RuntimeError
impl Clone for RuntimeError
sourcefn clone(&self) -> RuntimeError
fn clone(&self) -> RuntimeError
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 RuntimeError
impl Debug for RuntimeError
sourceimpl From<NotSupportedError> for RuntimeError
impl From<NotSupportedError> for RuntimeError
sourcefn from(val: NotSupportedError) -> RuntimeError
fn from(val: NotSupportedError) -> RuntimeError
Converts to this type from the input type.
sourceimpl From<OnChainError> for RuntimeError
impl From<OnChainError> for RuntimeError
sourcefn from(val: OnChainError) -> RuntimeError
fn from(val: OnChainError) -> RuntimeError
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 RuntimeError
impl Send for RuntimeError
impl Sync for RuntimeError
impl Unpin for RuntimeError
impl UnwindSafe for RuntimeError
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