Crate tower_service

source ·
Expand description

Definition of the core Service trait to Tower

The Service trait provides the necessary abstractions for defining request / response clients and servers. It is simple but powerful and is used as the foundation for the rest of Tower.

Traits

  • An asynchronous function from a Request to a Response.