pub async fn rate_limit(
__arg0: State<RateLimitState>,
__arg1: ConnectInfo<SocketAddr>,
request: Request,
next: Next,
) -> Result<Response, Response>Expand description
Rate limiting middleware.
pub async fn rate_limit(
__arg0: State<RateLimitState>,
__arg1: ConnectInfo<SocketAddr>,
request: Request,
next: Next,
) -> Result<Response, Response>Rate limiting middleware.