pub fn api_router<I, S, A>() -> Router<Arc<ServiceState<I, S, A>>>where
I: IndexProvider + Send + Sync + 'static,
S: StorageProvider + Send + Sync + Clone + 'static,
A: AuthProvider + Send + Sync + 'static,pub fn api_router<I, S, A>() -> Router<Arc<ServiceState<I, S, A>>>where
I: IndexProvider + Send + Sync + 'static,
S: StorageProvider + Send + Sync + Clone + 'static,
A: AuthProvider + Send + Sync + 'static,