Crate tower_service[−][src]
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.
Serviceis the primary trait and defines the request / response exchange. See that trait for more details.NewServiceis essentially a service factory. It is responsible for generatingServicevalues on demand.
Structs
| Ready |
Future yielding a |
Traits
| NewService |
Creates new |
| Service |
An asynchronous function from |