Thank you for your response.
The engine did not stall when it happened. I had plenty of time to decelerate and it was a regular situation I was in (so no rush), it was only when I started to hit the brakes I noticed I barely had any braking power whatsoever. So I pushed the pedal further down, with more force, (probably) causing the front tire to slip, but this was just before I steered away. This is confirmed by the stripe on the road (little straight, then to the left). The road was dry as well as the weather.
The reason I was asking in the first place is that I am somewhat baffled by how this could technically happen..
Edit: Oh, and I was comfortable driving the car, was definitely not the first time. And yes, it is a manual.