Why is this duck's eyes covered in foam?

Hi!

I saw this white duck this morning (with a male mallard - is this a white mallard?) and noticed it seemed to be struggling, its feathers look awful and its eyes are both completely covered with foam.

Does anyone know what this could be?  

Many thanks for your time.