pub trait ExtensionTrait: Send + Sync {
// Required methods
fn name(&self) -> &'static str;
fn extend(&self, router: Router) -> Router;
}
Expand description
Defines the interface for extensions that can be registered with the Core system. Extensions must implement this trait to extend the functionality of the Core system.