Struct tokio_proto::streaming::pipeline::StreamingPipeline[][src]

pub struct StreamingPipeline<B>(_);

A marker used to flag protocols as being streaming and pipelined.

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

Trait Implementations

impl<P, T, B> BindClient<StreamingPipeline<B>, T> for P where
    P: ClientProto<T>,
    T: 'static,
    B: Stream<Item = P::RequestBody, Error = P::Error> + 'static, 
[src]

The request type for the service.

The response type for the service.

The error type for the service.

The bound service.

Bind an I/O object as a service.

impl<P, T, B> BindServer<StreamingPipeline<B>, T> for P where
    P: ServerProto<T>,
    T: 'static,
    B: Stream<Item = P::ResponseBody, Error = P::Error>, 
[src]

The request type for the service.

The response type for the service.

The error type for the service.

Bind the service. Read more

impl<B: Debug> Debug for StreamingPipeline<B>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<B> Send for StreamingPipeline<B> where
    B: Send

impl<B> Sync for StreamingPipeline<B> where
    B: Sync