pub trait Host: Send {
// Required method
fn convert_error_code(
&mut self,
err: TrappableError<ErrorCode>,
) -> Result<ErrorCode>;
}Available on crate feature
p3 only.Required Methods§
fn convert_error_code( &mut self, err: TrappableError<ErrorCode>, ) -> Result<ErrorCode>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".