3#include <grpcpp/support/time.h>
5#include <userver/engine/deadline.hpp>
8class grpc::TimePoint<USERVER_NAMESPACE::engine::Deadline> {
10 explicit TimePoint(USERVER_NAMESPACE::engine::Deadline time)
noexcept
11 : time_(ToTimePoint(time)) {}
13 ::gpr_timespec raw_time()
const noexcept {
return time_; }
16 static ::gpr_timespec ToTimePoint(
17 USERVER_NAMESPACE::engine::Deadline from)
noexcept;