Class Handle
Manages a native handle to a Wasmer structure.
class Handle(T)
if (is(T == struct));
Constructors
Name | Description |
this
(value, borrowed)
|
|
Fields
Name | Type | Description |
borrowed
|
bool | Whether this handle was borrowed from the Wasmer runtime. Borrowed handles are not automatically freed in D-land.
|
Properties
Name | Type | Description |
handle [get]
|
T* | |
lastError [get]
|
string | The last error message that was raised by the Wasmer Runtime.
|
valid [get]
|
bool | Whether this managed handle to a Wasmer structure is valid.
|