pub trait Module: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn module_type(&self) -> &str;
}Expand description
Base trait that all modules must implement
Required Methods§
Sourcefn module_type(&self) -> &str
fn module_type(&self) -> &str
Get the module type (e.g., “processor”, “provider”, “plugin”)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".