Struct wai_bindgen_gen_wasmer::Opts
source · pub struct Opts {
pub rustfmt: bool,
pub tracing: bool,
pub async_: Async,
pub custom_error: bool,
}
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_: Async
Indicates which functions should be async
: all
, none
, or a
comma-separated list.
custom_error: bool
A flag to indicate that all trait methods in imports should return a custom trait-defined error. Applicable for import bindings.