Um it's very rare for that to happen. You would also need more exposure to it than just that.
(Yeast in mouth happened to me once) and you will be able to tell, because your tongue develops a disgusting thick white slime. It may be disgusting but its rapidly more treatable than vaginal yeast infection, so it's not really a big deal if it happens. They made me consume liquid form medicine to get rid of it, and it was gone in a few days, while the vaginal yeast infection at the same time took weeks to get rid of.
I wouldn't be afraid.
not likely different kind of yeast.