Module hdk::prelude::rate_limit

source ·
Expand description

Types for rate limiting

Structs

Combination of the three main rate limiting data types, for convenience
Combination of two rate limiting data types, for convenience

Enums

Input to the weigh callback. Includes an “unweighed” action, and Entry if applicable.

Type Definitions

The amount that a bucket is “filled”
A bucket ID, for rate limiting
The normalized total size of this action, for rate limiting
The weight of this action, for rate limiting