Expand description
rust__handler__* callbacks invoked by the C++ shim, split by handler-API
category. Each submodule holds the callbacks for one section of
docs/api/handler.md.
ยงSafety (every callback in these submodules)
ctxcomes fromrust__create_engineand has not been destroyed; the C++ shim guards every callback against null on its side, so each Rust callback requires non-null.- The shim never calls a callback for the same
ctxfrom two threads concurrently, so&mut *ctxis sound inside each callback. - Pointer/length pairs are valid for the call only; engines must not retain them.