Pep Guardiola compared Benjamin Mendy's knee injury to that of Ilkay Gundogan, with the full-back set to be out of action for an extended period.