Skip to main content

Host

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§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T> Host for WasiCtxNamedView<'_, T>

Source§

impl<_T: Host + ?Sized + Send> Host for &mut _T

Implementors§