Crate tower_service

source ·
Expand description

Definition of the core Service trait to Tower

These traits provide the necessary abstractions for defining a request / response clients and servers. They are simple but powerul and are the used as the foundation for the rest of Tower.

  • Service is the primary trait and defines the request / response exchange. See that trait for more details.

Traits

An asynchronous function from Request to a Response.