Struct tokio_proto::util::client_proxy::ClientProxy
[−]
[src]
pub struct ClientProxy<R, S, E> { /* fields omitted */ }
Client Service
for pipeline or multiplex protocols
Trait Implementations
impl<R, S, E> Clone for ClientProxy<R, S, E>
[src]
fn clone(&self) -> Self
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<R, S, E: From<Error>> Service for ClientProxy<R, S, E>
[src]
type Request = R
Requests handled by the service.
type Response = S
Responses given by the service.
type Error = E
Errors produced by the service.
type Future = Response<S, E>
The future response value.
fn call(&self, request: R) -> Self::Future
[src]
Process the request and return the response asynchronously.
impl<R, S, E> Debug for ClientProxy<R, S, E> where
R: Debug,
S: Debug,
E: Debug,
[src]
R: Debug,
S: Debug,
E: Debug,