Enum fuel_vm::error::RuntimeError
source · [−]pub enum RuntimeError {
Recoverable(PanicReason),
Halt(Error),
}
Expand description
Runtime error description that should either be specified in the protocol or halt the execution.
Variants
Recoverable(PanicReason)
Specified error with well-formed fallback strategy.
Halt(Error)
Unspecified error that should halt the execution.
Implementations
Trait Implementations
sourceimpl Debug for RuntimeError
impl Debug for RuntimeError
sourceimpl Display for RuntimeError
impl Display for RuntimeError
sourceimpl Error for RuntimeError
impl Error for RuntimeError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Bug> for RuntimeError
impl From<Bug> for RuntimeError
sourceimpl From<Error> for RuntimeError
impl From<Error> for RuntimeError
sourceimpl From<Infallible> for RuntimeError
impl From<Infallible> for RuntimeError
sourcefn from(_e: Infallible) -> RuntimeError
fn from(_e: Infallible) -> RuntimeError
Converts to this type from the input type.
sourceimpl From<PanicReason> for RuntimeError
impl From<PanicReason> for RuntimeError
sourcefn from(source: PanicReason) -> Self
fn from(source: PanicReason) -> Self
Converts to this type from the input type.
sourceimpl From<RuntimeError> for InterpreterError
impl From<RuntimeError> for InterpreterError
sourcefn from(error: RuntimeError) -> Self
fn from(error: RuntimeError) -> Self
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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