Skip to main content

Module native

Module native 

Source

Structs§

CancellationView
NativeCall
NativeCallContext
NativeSuspend
PromiseSetWait
ResourceGateHandle
A VM-thread capability for one runtime resource gate.

Enums§

ChannelOperation
ChannelQuery
ChannelReceive
ChannelSend
ChannelWait
NativeOutcome
PromiseSetMode
ResourceGateCloseError
ResumeInput
RuntimeRequest
RuntimeResponse
WaitKind

Traits§

NativeContinuation
SyncCallbackSession
One accepted synchronous HOF run: per-element direct calls of the proven non-suspending callback on a scratch VM, no scheduler involvement.
SyncHofHost
Host capability for running a cooperative HOF’s callback chain synchronously inside the active runtime quantum. Implemented by the VM and offered to natives through NativeCallContext::hof_host.

Functions§

multimethod_call
Build the first stage of a structural multimethod call.

Type Aliases§

NativeResult