Skip to main content

Module native_host

Module native_host 

Source
Expand description

Engine-neutral contracts for native guest values and retained callbacks.

These traits describe an opt-in boundary only. They do not provide a guest runtime or imply that a document backend executes through this interface.

Structs§

RealmScope
The active identity of a guest realm.
RetainedCallback
A retained callback identifier scoped to the guest instance that created it.

Enums§

NativeCallbackError
Failure returned by the host callback dispatch boundary.

Traits§

NativeGuest
A guest implementation that exposes typed values and retained callbacks.
NativeHost
A host-side owner that can dispatch calls to a native guest.

Type Aliases§

NativeIntrinsic
A native entry point that executes on the guest’s owning realm thread.