In the UK we refer to an RCD (residual current device), where as in the USA it is GFCI (ground fault circuit interrupter). If you have a partial fault to earth/ground then it will disconnect quickly and so stop a modest fault getting hot enough to start a fire.
With a hard high-current fault then the OCPD (over current protection device, i.e. fuse or circuit breaker) should also disconnect fast. In the UK that aspect of design is deeply embedded in the wiring regulations and the way that any professional electrical will test a circuit before and after putting it in to use (energising it). Before we would check the DC resistance of the line and earth cables (known as R1 and R2) and check that the supply impedance Ze along with R1+R2 is low enough to force disconnection in under 0.4s (typically, can be more or less in specific cases) under worst case of low supply volts and cables at max working temperature. After we would measure the supply impedance at the end point Zs (which should be Ze + R1 + R2)
We in the UK are now seeing AFDD = AFCI being introduced and they are intended to detect the high frequency 'buzz' of an arcing fault, with the aim of stopping it before it becomes a fire. Problem is a lot of things arc normally, like switch, relays, or some muppet plugging in or removing live. So they have to balance sensitivity and detection approach to try and trip on real fault arcs, but not on normal operating arc. Tricky...
Another difference between the UK and the USA (I think, not qualified in the ways of US electrical code) is the norm in UK/EU is to put the RCD or AFDD in the distribution board, where as I believe the USA favours them at outlet sockets. That seems odd and a poor choice to me, as more expensive and no protection for faults on the fixed wiring. Maybe some USA members like
@Cookie or
@Megawatt can comment on this aspect in case I'm hopelessly wrong.