Struct wasmtime_wit_bindgen::Opts
source · pub struct Opts {
pub rustfmt: bool,
pub tracing: bool,
pub async_: bool,
pub trappable_error_type: Vec<(String, String, String)>,
}
Fields§
§rustfmt: bool
Whether or not rustfmt
is executed to format generated code.
tracing: bool
Whether or not to emit tracing
macro calls on function entry/exit.
async_: bool
Whether or not to use async rust functions and traits.
trappable_error_type: Vec<(String, String, String)>
For a given wit interface and type name, generate a “trappable error type” of the following Rust type name