Struct tokio_proto::streaming::multiplex::StreamingMultiplex[][src]

pub struct StreamingMultiplex<B>(_);

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

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<StreamingMultiplex<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<StreamingMultiplex<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 StreamingMultiplex<B>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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