I have an enum to represent nodes being either local (referring to the current node) or remote, in which case communication happens through RPC calls:
pub enu