Module hyperdriver::service

source ·
Expand description

A collection of utilities for working with Service types and Servers.

Structs§

Traits§

  • Extension trait for Service to adapt inner body types to crate::Body.
  • An asynchronous function from Request to Response.
  • A trait for types that can be used to make HTTP services, by recieving references to connections.
  • Extends ServiceBuilder with an optional method.
  • An asynchronous function from a Request to a Response.
  • An extension trait for Services that provides a variety of convenient adapters
  • A tower::Service which takes a reference to a conenction type, usually in a “make service” context. Effectively this is Service<&IO>, but gets around the limitations of an impl with lifetimes.

Functions§