A main breaker of 100 amps will only allow 100 amps to flow through it without tripping. In a tripped state, no current will flow throughout the panel. It is the interrupt between the service and the branch circuits of the panel.
This main breaker protects the main service wires from damages that would occur given an overload. In that case, the wires would heat up and eventually could cause a fire.