Struct monto::service::Service [] [src]

pub struct Service { /* fields omitted */ }

A Service and the associated HTTP server.

Methods

impl Service
[src]

Serves until the given future resolves.

Serves forever.

impl Service
[src]

Creates a new Service.

Creates a ServiceNegotiation.

Adds a ServiceProvider to the service.

Replaces any ServiceProvider that provides the same Product.