Module oc_wasm_safe::descriptor
source · Expand description
Descriptors which refer to opaque values such as open file handles.
The types in this module provide RAII-style wrappers around integer descriptors, which in turn are used by OC-Wasm to represent opaque values (such as open file handles) that can be returned by component calls but cannot be represented as pure data in CBOR.
Structs§
- A borrowed opaque value descriptor.
- A CBOR-decoded opaque value descriptor.
- An owned opaque value descriptor.
Traits§
- A value that can be borrowed as an opaque value descriptor.
- A value that can be converted into an opaque value descriptor.
- A value that can be converted into an opaque value descriptor.