Module tower_async::util
source · Available on crate feature
util
only.Expand description
Various utility types and functions that are generally used with Tower.
Modules
- This module contains generic backoff utilities to be used with the retry and limit layers.
- PRNG utilities for tower middleware.
Structs
- Service returned by the
and_then
combinator. - Service returned by the
map_err
combinator. - Service returned by the
MapRequest
combinator. - A
Layer
that producesMapRequest
services. - Service returned by the
map_response
combinator. - A
Layer
that produces aMapResponse
service. - Service returned by the
map_result
combinator. - A
Service
implemented by a closure.
Enums
- Combine two different service types into a single type.
Traits
- An extension trait for
Service
s that provides a variety of convenient adapters