Public Types | Static Public Member Functions | List of all members
grpc_core::promise_detail::TryJoinTraits Struct Reference

#include <try_join.h>

Public Types

template<typename T >
using ResultType = decltype(IntoResult(std::declval< absl::remove_reference_t< T > * >()))
 

Static Public Member Functions

template<typename T , typename F >
static auto OnResult (T result, F kontinue) -> decltype(kontinue(IntoResult(&result)))
 
template<typename T >
static absl::StatusOr< TWrap (T x)
 

Detailed Description

Definition at line 47 of file try_join.h.

Member Typedef Documentation

◆ ResultType

template<typename T >
using grpc_core::promise_detail::TryJoinTraits::ResultType = decltype(IntoResult(std::declval<absl::remove_reference_t<T>*>()))

Definition at line 50 of file try_join.h.

Member Function Documentation

◆ OnResult()

template<typename T , typename F >
static auto grpc_core::promise_detail::TryJoinTraits::OnResult ( T  result,
kontinue 
) -> decltype(kontinue(IntoResult(&result)))
inlinestatic

Definition at line 52 of file try_join.h.

◆ Wrap()

template<typename T >
static absl::StatusOr<T> grpc_core::promise_detail::TryJoinTraits::Wrap ( T  x)
inlinestatic

Definition at line 62 of file try_join.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:39