Skip to main content

Module plugin

Module plugin 

Source
Expand description

Plugin system: base trait, extension traits, and registry. Plugin system core types and traits.

Defines the base Plugin trait, four extension traits (ScalarFunction, IndexPlugin, Serializer, Trigger), and a generic PluginRegistry for managing plugin instances.

Re-exports§

pub use crate::trigger_types::EntityType;
pub use crate::trigger_types::TriggerContext;
pub use crate::trigger_types::TriggerOperation;

Structs§

PluginRegistry
A type-safe registry that stores and retrieves plugin instances by name.

Traits§

IndexPlugin
A custom index implementation that can be plugged into the storage layer.
Plugin
Base trait that every plugin must implement.
ScalarFunction
A user-defined scalar function callable from Cypher queries.
Serializer
A custom serialization format for import/export operations.
Trigger
A trigger that fires before/after create, update, and delete operations.