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]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

Process the request and return the response asynchronously.

impl<T, P> Clone for ClientService<T, P> where
    T: 'static,
    P: ClientProto<T>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T, P> Debug for ClientService<T, P> where
    T: 'static + Debug,
    P: ClientProto<T> + Debug
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T, P> Send for ClientService<T, P> where
    <P as ClientProto<T>>::Request: Send,
    <P as ClientProto<T>>::Response: Send

impl<T, P> !Sync for ClientService<T, P>