Show / Hide Table of Contents

Interface IFunctionResult<TResult, TOk, TBuilder>

Indicates that the type implementing this interface is a "Result" type for function. This means that the function WASM call will use the TBuilder type to create an instance of the TSelf type and return that. This can be used by advanced users to extract the necessary information from a trap result.

Namespace: Wasmtime
Assembly: Wasmtime.Dotnet.dll
Syntax
public interface IFunctionResult<TResult, TOk, TBuilder>
    where TResult : struct, IFunctionResult<TResult, TOk, TBuilder> where TBuilder : struct, IFunctionResultBuilder<TResult, TOk>
Type Parameters
Name Description
TResult

Type of this result type.

TOk

Type contained in the result in the success case

TBuilder

Type of the builder used to construct TResult

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX