Skip to main content

Module native

Module native 

Source
Expand description

Explicit native-function boundary. Registered functions must be pure and bounded.

Re-exports§

pub use crate::catalog::functions::BUILTIN_NAMES;

Structs§

NativeFunction
A host-owned pure operation. It must not access devices, perform I/O, mutate external state, or panic. Such effects cannot be rolled back by the interpreter.
NativeRegistry
Native signatures are supplied to crate::compile_with_registry; the runtime rechecks host arguments and results at every callback boundary.