Expand description
The core Plugin trait and supporting types.
Every uni-db extension implements Plugin. The trait is deliberately
tiny: a PluginManifest accessor, a register method that calls into a
PluginRegistrar, and optional init / shutdown hooks. The heavy
lifting lives in the per-surface capability traits in crate::traits.
Structs§
- Plugin
Handle - A handle returned by
Uni::add_pluginand similar APIs. - Plugin
Id - Reverse-DNS plugin identifier — e.g.
"ai.dragonscale.geo". - Plugin
Init Context - Init-time context provided to
Plugin::init.
Traits§
- Plugin
- The trait every uni-db extension implements.
- Plugin
State - Marker trait for plugin-side extension state.
Type Aliases§
- DynPlugin
- A type-erased plugin reference suitable for storing in collections.