pub async fn create_index<T: Send + Sync>( collection: &Collection<T>, field: &str, ) -> Result<CreateIndexResult>