wasmtime_environ::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: Into<Error>,