十九、Rust Tcp Rpc 示例-定义服务时间:2024-04-05 09:34:33 tarpc/src/lib.rs #[tarpc::service] pub trait Hello { async fn hello(name: String) -> String; }