State public enum State Represents the state of the circuit. open The circuit is open, i.e. broken. Declaration Swift case open halfopen The circuit is half-open, i.e. experiencing errors. Declaration Swift case halfopen closed The circuit is closed, i.e functioning normally. Declaration Swift case closed