Skip to main content

register_handlerton

Function register_handlerton 

Source
pub fn register_handlerton(handlerton: Box<dyn Handlerton>)
Expand description

Install handlerton as the process-wide engine-level handlerton.

Optional and independent of register_engine_factory: call it once from the plugin’s rust__plugin_init only when the engine implements engine-level behaviour (transactions, savepoints, …). Later calls are ignored, and an engine that never calls it keeps the zero-config handlerton defaults.