Go to the documentation of this file.
19 #ifndef GRPC_CORE_LIB_TRANSPORT_TIMEOUT_ENCODING_H
20 #define GRPC_CORE_LIB_TRANSPORT_TIMEOUT_ENCODING_H
26 #include "absl/types/optional.h"
std::chrono::duration< std::int_fast64_t > seconds
absl::optional< Duration > ParseTimeout(const Slice &text)
static Timeout FromMinutes(int64_t minutes)
static Timeout FromHours(int64_t hours)
static Timeout FromDuration(Duration duration)
Timeout(uint16_t value, Unit unit)
static Timeout FromMillis(int64_t millis)
Duration AsDuration() const
static Timeout FromSeconds(int64_t seconds)
double RatioVersus(Timeout other) const
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:39