[][src]Struct tokio_proto::pipeline::ClientService

pub struct ClientService<T, P> where
    T: 'static,
    P: ClientProto<T>, 
{ /* fields omitted */ }

Client Service for simple pipeline protocols

Trait Implementations

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

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

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 = Error

Errors produced by the service.

type Future = ClientFuture<T, P>

The future response value.

Auto Trait Implementations

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

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>

impl<T, P> Unpin for ClientService<T, P>

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.