Skip to main content

Crate mysql_handler

Crate mysql_handler 

Source
Expand description

Rust bindings for the MySQL 8.4 storage engine handler API

Modulesยง

dd
Safe Rust view of the MySQL data-dictionary dd::Table tree.
engine
Safe storage-engine interface for downstream implementations
handler
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.
hton
Engine-level handlerton interface.
license
License tag for the plugin manifest.
panic_guard
FFI boundary panic safety. Every extern "C" callback exposed to the C++ shim must funnel its body through one of these helpers so that a Rust panic cannot unwind across the language boundary and abort the MySQL server.
prelude
Aggregated re-exports for downstream engine crates.
runtime
Engine-instance lifecycle across the FFI boundary: the factory registry, the per-handler EngineContext, create/destroy entry points, and the FfiPtr pointer helpers. Per-method rust__handler__* callbacks live in crate::handler; both modules share the safety contract documented there.
sys
Raw FFI bindings: MySQL handler constants and opaque C++ types