Struct actix_net::framed::FramedNewService[][src]

pub struct FramedNewService<S, T, U> { /* fields omitted */ }

Methods

impl<S, T, U> FramedNewService<S, T, U> where
    T: AsyncRead + AsyncWrite,
    U: Decoder + Encoder,
    S: NewService<Request = <U as Decoder>::Item, Response = <U as Encoder>::Item> + Clone,
    <<S as NewService>::Service as Service>::Future: 'static,
    <<S as NewService>::Service as Service>::Error: 'static,
    <U as Encoder>::Item: 'static,
    <U as Encoder>::Error: 'static, 
[src]

Trait Implementations

impl<S, T, U> Clone for FramedNewService<S, T, U> where
    S: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S, T, U> NewService for FramedNewService<S, T, U> where
    T: AsyncRead + AsyncWrite,
    U: Decoder + Encoder,
    S: NewService<Request = <U as Decoder>::Item, Response = <U as Encoder>::Item> + Clone,
    <<S as NewService>::Service as Service>::Future: 'static,
    <<S as NewService>::Service as Service>::Error: 'static,
    <U as Encoder>::Item: 'static,
    <U as Encoder>::Error: 'static, 
[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<S, T, U> Send for FramedNewService<S, T, U> where
    S: Send,
    T: Send,
    U: Send

impl<S, T, U> Sync for FramedNewService<S, T, U> where
    S: Sync,
    T: Sync,
    U: Sync