userver: congestion_control::Limit Struct Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
congestion_control::Limit Struct Reference

Public Member Functions

std::string ToLogString ()
 

Public Attributes

std::optional< size_t > load_limit
 
size_t current_load {0}
 

Detailed Description

Definition at line 10 of file limiter.hpp.

Member Function Documentation

◆ ToLogString()

std::string congestion_control::Limit::ToLogString ( )
inline

Definition at line 14 of file limiter.hpp.

Member Data Documentation

◆ current_load

size_t congestion_control::Limit::current_load {0}

Definition at line 12 of file limiter.hpp.

◆ load_limit

std::optional<size_t> congestion_control::Limit::load_limit

Definition at line 11 of file limiter.hpp.


The documentation for this struct was generated from the following file: