mysql-handler
Rust bindings for the MySQL 8.4 storage engine handler API. Write a
storage engine plugin in Rust by implementing the [StorageEngine]
trait, decorating the type with the [plugin] attribute macro, and
loading the resulting cdylib with INSTALL PLUGIN.
use *;
use CStr;
;
Pair this crate with mysql-handler-build
in build-dependencies and call mysql_handler_build::configure()
from build.rs to wire the C++ shim staticlib into the link line. See
the rustdoc on StorageEngine and plugin for the full callback
surface and macro arguments.
A reference engine that exercises every binding lives in
examples/engine/.
License
GPL-2.0-only.