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: TracingConf

Disabling 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: bool

Determine whether the context structure will use &mut self (true) or simply &self.

Implementations§

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.