[][src]Crate tower_service

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

Service

An asynchronous function from Request to a Response.