Skip to main content

Module prelude

Module prelude 

Source
Expand description

Aggregated re-exports for downstream engine crates.

use mysql_handler::prelude::*; brings the items most engine implementations reach for: the StorageEngine trait and its EngineError / EngineResult types, the License tag for the plugin manifest, and the plugin attribute macro that generates it.

Re-exports§

pub use crate::engine::EngineError;
pub use crate::engine::EngineResult;
pub use crate::engine::RKeyFunction;
pub use crate::engine::RangeKey;
pub use crate::engine::StorageEngine;
pub use crate::license::License;

Attribute Macros§

plugin
Attribute macro that turns a Default-constructible engine struct into a loadable MySQL plugin.