ModuleFuture
The object-safe future returned by module lifecycle operations.
pub type ModuleFuture =
Pin<Box<dyn Future<Output = Result<(), MicroserviceError>> + Send + 'static>>;
The future must own everything it uses because it is Send + 'static and cannot borrow the module. Return one with Box::pin(async move { ... }).