pub trait BackendSyscallError: Sized {
// Required methods
fn into_termination_reason(self) -> UndefinedTerminationReason;
fn into_run_fallible_error(self) -> RunFallibleError;
}
Expand description
A trait for conversion of the externalities API error
to UndefinedTerminationReason
and RunFallibleError
.
Required Methods§
fn into_termination_reason(self) -> UndefinedTerminationReason
fn into_run_fallible_error(self) -> RunFallibleError
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.