Expand description
Interface for rate limiters and an in-memory rate limiter.
This module provides rate limiting functionality for FerricLink, similar to LangChain’s rate_limiters.py with Rust-specific optimizations.
Structs§
- Advanced
Rate Limiter - A more advanced rate limiter that supports different rate limiting strategies.
- InMemory
Rate Limiter - An in-memory rate limiter based on a token bucket algorithm.
- InMemory
Rate Limiter Config - Serializable version of InMemoryRateLimiter for configuration
- Rate
Limiter Config - Configuration for the advanced rate limiter
Traits§
- Base
Rate Limiter - Base trait for all rate limiters.