Struct fibers_rpc::client::CallClient [] [src]

pub struct CallClient<'a, T: Call> { /* fields omitted */ }

Client for request/response RPC.

Methods

impl<'a, T: Call> CallClient<'a, T>
[src]

[src]

Sends the request message to the RPC server, and returns a future that represents the response from the server.

impl<'a, T: Call> CallClient<'a, T>
[src]

[src]

Returns a reference to the RPC options of this client.

[src]

Returns a mutable reference to the RPC options of this client.

[src]

Returns a reference to the decoder of this client.

[src]

Returns a mutable reference to the decoder of this client.

[src]

Returns a reference to the encoder of this client.

[src]

Returns a mutable reference to the encoder of this client.

Trait Implementations

impl<'a, T: Debug + Call> Debug for CallClient<'a, T> where
    T::ResDecoder: Debug,
    T::ReqEncoder: Debug
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, T> Send for CallClient<'a, T> where
    <T as Call>::ReqEncoder: Send,
    <T as Call>::ResDecoder: Send

impl<'a, T> Sync for CallClient<'a, T> where
    <T as Call>::ReqEncoder: Sync,
    <T as Call>::ResDecoder: Sync