Struct tokio_proto::pipeline::Pipeline [−][src]
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]
impl<T: 'static, P: ClientProto<T>> BindClient<Pipeline, T> for P
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.
fn bind_client<E>(&self, executor: &E, io: T) -> Self::BindClient where
E: Executor<Box<Future<Item = (), Error = ()>>>,
[src]
fn bind_client<E>(&self, executor: &E, io: T) -> Self::BindClient where
E: Executor<Box<Future<Item = (), Error = ()>>>,
Bind an I/O object as a service.
impl<T: 'static, P: ServerProto<T>> BindServer<Pipeline, T> for P
[src]
impl<T: 'static, P: ServerProto<T>> BindServer<Pipeline, T> for P
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.
fn bind_server<S, E>(&self, executor: &E, io: T, service: S) where
S: Service<Request = Self::ServiceRequest, Response = Self::ServiceResponse, Error = Self::ServiceError> + 'static,
E: Executor<Box<Future<Item = (), Error = ()>>>,
[src]
fn bind_server<S, E>(&self, executor: &E, io: T, service: S) where
S: Service<Request = Self::ServiceRequest, Response = Self::ServiceResponse, Error = Self::ServiceError> + 'static,
E: Executor<Box<Future<Item = (), Error = ()>>>,
Bind the service. Read more
impl Debug for Pipeline
[src]
impl Debug for Pipeline