How to abstract over serializable objects being either remote or local in Rust?

后端 未结 0 618
说谎
说谎 2020-11-27 02:27

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         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题