Struct hyper_json_server::JsonServer [] [src]

pub struct JsonServer<S> {
    pub inner: Arc<S>,
}

Fields

Trait Implementations

impl<S: Service + JsonService + 'static> Service for JsonServer<S>
[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.

Auto Trait Implementations

impl<S> Send for JsonServer<S> where
    S: Send + Sync

impl<S> Sync for JsonServer<S> where
    S: Send + Sync