Module tower::load::pending_requests
source · Available on crate feature
load
only.Expand description
A Load
implementation that measures load using the number of in-flight requests.
Structs§
- Represents the number of currently-pending requests to a given service.
- Tracks an in-flight request by reference count.
- Measures the load of the underlying service using the number of currently-pending requests.
- PendingRequestsDiscover
discover
Wraps aD
-typed stream of discovered services withPendingRequests
.