Struct tokio_proto::multiplex::ClientService
[−]
[src]
pub struct ClientService<T, P> where T: 'static, P: ClientProto<T> { /* fields omitted */ }
Client Service
for simple multiplex protocols
Trait Implementations
impl<T, P> Service for ClientService<T, P> where T: 'static, P: ClientProto<T>
[src]
type Request = P::Request
Requests handled by the service.
type Response = P::Response
Responses given by the service.
type Error = P::Error
Errors produced by the service.
type Future = ClientFuture<T, P>
The future response value.
fn call(&mut self, req: P::Request) -> Self::Future
[−]
Process the request and return the response asynchronously.