Years of biking in heavy urban and suburban traffic, and also alongside major highways (70 mph posted speed limit.) As with driving, or walking, or living in general, in almost every case you can driver or ride extremely defensively and ride absolutely anywhere and be fine. Every now and then you are going to meet with a driver so stupid there is no escape. But then, cars have hit houses, so even staying home is not safe from really bad drivers.
Glad you were not more hurt and your bike was not more damaged. I cannot count the number of things you will learn from this wreck, but I am pretty sure your safety factor will increase markedly ... and if anything else should happen (and it shouldn't) you will be less freaked out and better prepared to deal with it.
Bad that it happened, but good that it happened in sort of the best possible way. Stay calm, and pedal on.