[−][src]Crate tower
fn(Request) -> Future<Response>
Tower is a library of modular and reusable components for building robust networking clients and servers.
Re-exports
pub use crate::builder::ServiceBuilder; |
Modules
buffer | Buffer requests when the inner service is out of capacity. |
builder | Builder types to compose layers and services |
discover | Tower service discovery |
layer | Layer traits and extensions. |
limit | Tower middleware for limiting requests. |
load_shed | Tower middleware for shedding load when inner services aren't ready. |
retry | Tower middleware for retrying "failed" requests. |
timeout | Tower middleware that applies a timeout to requests. |
util | Combinators for working with |
Traits
Service | An asynchronous function from a |
ServiceExt | An extension trait for |
Functions
service_fn | Returns a new |