Struct actix_net::framed::IntoFramedService[][src]

pub struct IntoFramedService<T, U, F> where
    T: AsyncRead + AsyncWrite,
    F: Fn() -> U + Send + Clone + 'static,
    U: Encoder + Decoder
{ /* fields omitted */ }

Trait Implementations

impl<T, U, F> Service for IntoFramedService<T, U, F> where
    T: AsyncRead + AsyncWrite,
    F: Fn() -> U + Send + Clone + 'static,
    U: Encoder + Decoder
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

Returns Ready when the service is able to process requests. Read more

Process the request and return the response asynchronously. Read more

A future yielding the service when it is ready to accept a request.

Auto Trait Implementations

impl<T, U, F> Send for IntoFramedService<T, U, F> where
    T: Send

impl<T, U, F> Sync for IntoFramedService<T, U, F> where
    F: Sync,
    T: Sync