Struct actix_net::cloneable::CloneableService[][src]

pub struct CloneableService<S: Service + 'static> { /* fields omitted */ }

Service that allows to turn non-clone service to a service with Clone impl

Methods

impl<S: Service + 'static> CloneableService<S>
[src]

Trait Implementations

impl<S: Service + 'static> Clone for CloneableService<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: Service + 'static> Service for CloneableService<S>
[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<S> !Send for CloneableService<S>

impl<S> !Sync for CloneableService<S>