Status.StateSourcetype t = | Connecting| Connected| Disconnected of Core.Error.t| Failed_to_connect of Core.Error.tThe status of an RPC connection.
state diagram:
START | .------------------. v v \ Connecting -> Connected <-> Disconnected | ^ ^ v | | Failed_to_connect