Rework the future Connect trait to only have one method, which takes an Options arg.

This commit is contained in:
Tim Kuehn
2017-01-11 22:26:12 -08:00
parent 568484f14f
commit 05c6be192d
16 changed files with 257 additions and 282 deletions

View File

@@ -14,7 +14,7 @@ extern crate serde_derive;
use std::error::Error;
use std::fmt;
use tarpc::sync::Connect;
use tarpc::client::sync::Connect;
service! {
rpc hello(name: String) -> String | NoNameGiven;