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]
impl<R, S, E> Clone for ClientProxy<R, S, E>
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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]
impl<R, S, E: From<Error>> Service for ClientProxy<R, S, E>
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]
fn call(&self, request: R) -> Self::Future
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]
impl<R, S, E> Debug for ClientProxy<R, S, E> where
R: Debug,
S: Debug,
E: Debug,
Auto Trait Implementations
impl<R, S, E> Send for ClientProxy<R, S, E> where
E: Send,
R: Send,
S: Send,
impl<R, S, E> Send for ClientProxy<R, S, E> where
E: Send,
R: Send,
S: Send,
impl<R, S, E> !Sync for ClientProxy<R, S, E>
impl<R, S, E> !Sync for ClientProxy<R, S, E>