Skip to main content

project_transient_context

Function project_transient_context 

Source
pub fn project_transient_context(
    ctx: &TransientContext,
) -> Result<TransientContext, String>
Expand description

Project a live TransientContext into its owned WIT mirror. Host→guest only.

Fallible only because of TR.3a’s args: an Args variant that has no WIT form is a typed error rather than a silently-dropped field, which would hand the builder none and have it build the wrong menu.