rate-guard 0.1.0

Thread-safe rate limiting library with multiple algorithms and Duration-based configuration
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Core type definitions for rate limiting operations.
//!
//! This module re-exports fundamental types from rate-guard-core while
//! providing a unified interface for the high-level API.

// Re-export Uint from rate-guard-core with all its feature configurations
pub use rate_guard_core::types::Uint;

// Re-export core types with original names
pub use rate_guard_core::{
    SimpleRateLimitResult,
    SimpleRateLimitError,
    VerboseRateLimitResult,
    VerboseRateLimitError,
};