That was about 2 feet clearance.
I get passed like that routinely in the city. I'm used to it, the speeds are not high, I use a mirror and know where the car is.
On that suburban/country road, with the car driving fairly fast (40 mph+ I think), and him having plenty of room to move over, that is too close.
I'd say that is a driver who doesn't give a damn, or has no sense of how close is close, or was daydreaming and didn't actually register your presence.
What I'd do there is ride a couple feet to the left of the white line AND monitor your helmet mirror and your ears. Because taking the lane works, until it doesn't. If you are watching the mirror, you have a chance of diving out of the way when the driver comes along who doesn't care or doesn't see.