There's good news and bad news. The bad news is, your eye is utterly fucked. But the good news is your bike is fine. In fact, you can ride it home if you like.
If the eye itself isn't damaged, I wonder if it could be stuck back in and fixed? But I think it would be a longshot. All the potential for infection, swelling, nerve damage, etc etc.