wasmtime_types::prelude

Trait IntoAnyhow

Source
pub trait IntoAnyhow {
    // Required method
    fn into_anyhow(self) -> Error;
}
Expand description

Convenience trait to convert a value into anyhow::Error

This trait is not a suitable public interface of Wasmtime so it’s just an internal implementation detail for now. This trait is conditionally implemented on the std feature with different bounds.

Required Methods§

Source

fn into_anyhow(self) -> Error

Converts self into an anyhow::Error.

Implementors§

Source§

impl<T> IntoAnyhow for T
where T: Display + Debug + Send + Sync + 'static,