Struct actix_net::framed::IntoFramed[][src]

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

Methods

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

Trait Implementations

impl<T, U, F> NewService for IntoFramed<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

Errors produced while building a service.

The Service value created by this factory

The future of the Service instance.

Create and return a new service value asynchronously.

Auto Trait Implementations

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

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