[][src]Struct tokio_proto::pipeline::Pipeline

pub struct Pipeline;

A marker used to flag protocols as being pipelined RPC.

This is an implementation detail; to actually implement a protocol, implement the ClientProto or ServerProto traits in this module.

Trait Implementations

impl<T: 'static, P: ClientProto<T>> BindClient<Pipeline, T> for P[src]

type ServiceRequest = P::Request

The request type for the service.

type ServiceResponse = P::Response

The response type for the service.

type ServiceError = Error

The error type for the service.

type BindClient = ClientService<T, P>

The bound service.

impl<T: 'static, P: ServerProto<T>> BindServer<Pipeline, T> for P[src]

type ServiceRequest = P::Request

The request type for the service.

type ServiceResponse = P::Response

The response type for the service.

type ServiceError = Error

The error type for the service.

impl Debug for Pipeline[src]

Auto Trait Implementations

impl RefUnwindSafe for Pipeline

impl Send for Pipeline

impl Sync for Pipeline

impl Unpin for Pipeline

impl UnwindSafe for Pipeline

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, 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.