Available on crate feature
limit
only.Expand description
Limit policies for super::Limit
define how requests are handled when the limit is reached
for a given request.
Structs§
- Concurrent
Policy - A policy that limits the number of concurrent requests.
- Limit
Reached - The error that indicates the request is aborted, because the concurrent request limit is reached.
Enums§
- Policy
Output - The output of a limit policy.
Traits§
- Policy
- A limit policy is used to determine whether a request is allowed to proceed, and if not, how to handle it.