Struct actix_net::stream::TakeItem[][src]

pub struct TakeItem<T> { /* fields omitted */ }

NewService that implements, read one item from the stream.

Methods

impl<T> TakeItem<T>
[src]

Create new TakeRequest instance.

Trait Implementations

impl<T: Stream> NewService for TakeItem<T>
[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> Send for TakeItem<T> where
    T: Send

impl<T> Sync for TakeItem<T> where
    T: Sync