The standard is different because females get pregnant, so it’s more serious if the student had been a girl.
On the other hand, other than a breach of professionalism which should cost her her career, this should not be a criminal issue.
Only becomes a criminal issue in a feminized society, where the law erroneously views the sexual behavior of males the same as of females.
A public official abusing her office and the public trust should be a jailable offense and sex with a minor should be too.