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§
Source§impl Clone for RuntimeError
impl Clone for RuntimeError
Source§fn clone(&self) -> RuntimeError
fn clone(&self) -> RuntimeError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeError
impl Debug for RuntimeError
Source§impl From<NotSupportedError> for RuntimeError
impl From<NotSupportedError> for RuntimeError
Source§fn from(val: NotSupportedError) -> RuntimeError
fn from(val: NotSupportedError) -> RuntimeError
Converts to this type from the input type.
Source§impl From<OnChainError> for RuntimeError
impl From<OnChainError> for RuntimeError
Source§fn from(val: OnChainError) -> RuntimeError
fn from(val: OnChainError) -> RuntimeError
Converts to this type from the input type.
Source§impl From<RuntimeError> for EvalError
impl From<RuntimeError> for EvalError
Source§fn from(val: RuntimeError) -> EvalError
fn from(val: RuntimeError) -> EvalError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuntimeError
impl RefUnwindSafe for RuntimeError
impl Send for RuntimeError
impl Sync for RuntimeError
impl Unpin for RuntimeError
impl UnwindSafe for RuntimeError
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