Trait tiny_rpc::rpc::Client[][src]

pub trait Client: Sized {
    fn from_handle(handle: ClientDriverHandle) -> Self;
fn handle(&self) -> &ClientDriverHandle; fn new(transport: Transport) -> (Self, BoxFuture<'static, ()>) { ... }
fn make_request(
        &self,
        req: RpcFrame
    ) -> BoxFuture<'static, Result<RpcFrame>> { ... } }

Required methods

Loading content...

Provided methods

fn new(transport: Transport) -> (Self, BoxFuture<'static, ()>)[src]

fn make_request(&self, req: RpcFrame) -> BoxFuture<'static, Result<RpcFrame>>[src]

Loading content...

Implementors

Loading content...