diff --git a/src/module/mod.rs b/src/module/mod.rs index af86ce91..d0f711f2 100644 --- a/src/module/mod.rs +++ b/src/module/mod.rs @@ -51,5 +51,9 @@ pub trait Module { fn execute(&self, rt : &Runtime) -> ModuleResult; fn shutdown(&self, rt : &Runtime) -> ModuleResult; + fn getCommandBuilder() -> F + where F: FnOnce(StorageBackend) -> T, + T: ExecutableCommand; + }