wasmtime_component_resource_host_t typedef
\brief Represents a host-defined component resource.
This structure is similar to wasmtime_component_resource_any_t except
that it unconditionally represents an embedder-defined resource via this
API. Host resources have a "rep" which is a 32-bit integer whose meaning
is defined by the host. This "rep" is trusted in the sense that the guest
cannot forge this so the embedder is the only one that can view this.
Host resources also have a 32-bit type whose meaning is also defined by the host and has no meaning internally. This is used to distinguish different types of resources from one another.
Also note that unlike wasmtime_component_resource_any_t host resources
do not have a "drop" operation. It's up to the host to define what it means
to drop an owned resource and handle that appropriately.
Implementation
typedef wasmtime_component_resource_host_t = wasmtime_component_resource_host;