new_client

Function new_client 

Source
pub fn new_client<C, S>(s: S) -> C
where C: FromServer<S>,
Expand description

Creates a new local RPC client of type C out of an object that implements a server trait S.