Wasmtime
wasmtime_component_valresult_t Struct Reference

Represents a result type. More...

#include <val.h>

Data Fields

bool is_ok
 The discriminant of the result.
 
struct wasmtime_component_valval
 

Detailed Description

Represents a result type.

Field Documentation

◆ val

struct wasmtime_component_val* wasmtime_component_valresult_t::val

The 'ok' value if wasmtime_component_valresult_t::is_ok is true, else the 'err' value


The documentation for this struct was generated from the following file: