userver: utils::hedging::RequestTraits< RequestStrategy > Struct Template Reference
Loading...
Searching...
No Matches
utils::hedging::RequestTraits< RequestStrategy > Struct Template Reference

Detailed Description

template<typename RequestStrategy>
struct utils::hedging::RequestTraits< RequestStrategy >

Definition at line 80 of file hedged_request.hpp.

Public Types

using RequestType = typename std::invoke_result_t< decltype(&RequestStrategy::Create), RequestStrategy, int >::value_type
 
using ReplyType = typename std::invoke_result_t< decltype(&RequestStrategy::ExtractReply), RequestStrategy >::value_type
 

Member Typedef Documentation

◆ ReplyType

using utils::hedging::RequestTraits< RequestStrategy >::ReplyType = typename std::invoke_result_t<decltype(&RequestStrategy::ExtractReply), RequestStrategy>::value_type

Definition at line 83 of file hedged_request.hpp.

◆ RequestType

using utils::hedging::RequestTraits< RequestStrategy >::RequestType = typename std::invoke_result_t<decltype(&RequestStrategy::Create), RequestStrategy, int>::value_type

Definition at line 81 of file hedged_request.hpp.


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