usecrate::app::AppService;/// A hook called when the server is initialized.
pubtraitOnServerInitialize{/// Called on server initialization.
fncall(&self, service: AppService);}impl<F> OnServerInitialize forFwhere
F: Fn(AppService) + Send + Sync + 'static,
{fncall(&self, service: AppService){(self)(service);}}