Struct wiggle_generate::CodegenSettings
source · pub struct CodegenSettings {
pub errors: ErrorTransform,
pub async_: AsyncConf,
pub wasmtime: bool,
pub tracing: TracingConf,
pub mutable: bool,
}Fields§
§errors: ErrorTransform§async_: AsyncConf§wasmtime: bool§tracing: TracingConfDisabling this feature makes it possible to remove all of the tracing
code emitted in the Wiggle-generated code; this can be helpful while
inspecting the code (e.g., with cargo expand).
mutable: boolDetermine whether the context structure will use &mut self (true) or
simply &self.