Struct finchers_runtime::server::Server [] [src]

pub struct Server<S> { /* fields omitted */ }

A builder for running the HTTP server based on given HTTP service and configuration.

Methods

impl<S> Server<S> where
    S: NewHttpService<RequestBody = RequestBody> + Send + Sync + 'static,
    S::ResponseBody: Payload + Send + 'static,
    <S::ResponseBody as Payload>::Data: Send,
    <S::ResponseBody as Payload>::Error: Into<Error>,
    S::Service: Send + 'static,
    S::Future: Send + 'static,
    S::Error: Into<Error>,
    <S::Service as HttpService>::Future: Send + 'static,
    S::InitError: Fail
[src]

[src]

Create a new launcher from given service.

[src]

Start the HTTP server with given configurations

Trait Implementations

impl<S: Debug> Debug for Server<S>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<S> Send for Server<S> where
    S: Send

impl<S> Sync for Server<S> where
    S: Sync