Struct ferrum::service::InitialService [] [src]

pub struct InitialService<H> where
    H: Handler
{ pub handler: Arc<H>, pub thread_pool: Arc<CpuPool>, }

Fields

Methods

impl<H> InitialService<H> where
    H: Handler
[src]

[src]

Trait Implementations

impl<H> Clone for InitialService<H> where
    H: Handler
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<H> NewService for InitialService<H> where
    H: Handler
[src]

Requests handled by the service

Responses given by the service

Errors produced by the service

The Service value created by this factory

[src]

Create and return a new service value.

impl<H> Service for InitialService<H> where
    H: Handler
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

[src]

Process the request and return the response asynchronously.