Skip to main content

SelfError

Trait SelfError 

Source
pub trait SelfError {
    // Required method
    fn into_runtime_error(self) -> RuntimeError;
}
Expand description

This is a trait for the non-Downstream part of InvokeError We can’t use Into<RuntimeError> because we need RuntimeError not to implement it.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§