Struct jsonrpc_test::Rpc [−][src]
Expand description
RPC instance.
Fields
io: IoHandler
Underlying IoHandler
.
options: Options
Options
Implementations
pub fn new<D>(delegate: D) -> Self where
D: IntoIterator<Item = (String, RemoteProcedure<()>)>,
pub fn new<D>(delegate: D) -> Self where
D: IntoIterator<Item = (String, RemoteProcedure<()>)>,
Create a new RPC instance from a single delegate.
Perform a single, synchronous method call and return pretty-printed value
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Rpc
impl !UnwindSafe for Rpc