userver: userver/utils/bytes_per_second.hpp File Reference
Loading...
Searching...
No Matches
bytes_per_second.hpp File Reference

Detailed Description

Data type that represents bytes per second unit.

Definition in file bytes_per_second.hpp.

Go to the source code of this file.

#include <string>
#include <userver/formats/parse/to.hpp>

Namespaces

namespace  utils
 Utilities.
 

Enumerations

enum class  utils::BytesPerSecond : long long
 Data type that represents bytes per second unit. More...
 

Functions

constexpr long long utils::ToLongLong (BytesPerSecond x)
 
constexpr bool utils::operator== (BytesPerSecond lhs, BytesPerSecond rhs)
 
constexpr bool utils::operator!= (BytesPerSecond lhs, BytesPerSecond rhs)
 
BytesPerSecond utils::StringToBytesPerSecond (const std::string &data)
 
template<class Value >
BytesPerSecond utils::Parse (const Value &v, formats::parse::To< BytesPerSecond >)