wasmtime_component_valresult_t class final

Represents a result type

Inheritance
Implemented types
Available extensions

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
hashCode → int
The hash code for this object.
no setterinherited
is_ok ↔ bool
The discriminant of the result
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
val ↔ Pointer<wasmtime_component_val_t>
The 'ok' value if #wasmtime_component_valresult_t::is_ok is true, else the 'err' value
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

$allocate(Allocator $allocator, {required bool is_ok, required Pointer<wasmtime_component_val_t> val}) → Pointer<wasmtime_component_valresult_t>