Public Types | Static Public Member Functions | List of all members
grpc_core::promise_detail::TrySeqTraitsWithSfinae< T, Ignored > Struct Template Reference

#include <try_seq.h>

Public Types

using UnwrappedType = T
 
using WrappedType = absl::StatusOr< T >
 

Static Public Member Functions

template<typename Next >
static auto CallFactory (Next *next, T &&value) -> decltype(next->Once(std::forward< T >(value)))
 
template<typename F , typename Elem >
static auto CallSeqFactory (F &f, Elem &&elem, T &&value) -> decltype(f(std::forward< Elem >(elem), std::forward< T >(value)))
 
template<typename Result , typename RunNext >
static Poll< Result > CheckResultAndRunNext (T prior, RunNext run_next)
 

Detailed Description

template<typename T, typename Ignored = void>
struct grpc_core::promise_detail::TrySeqTraitsWithSfinae< T, Ignored >

Definition at line 36 of file try_seq.h.

Member Typedef Documentation

◆ UnwrappedType

template<typename T , typename Ignored = void>
using grpc_core::promise_detail::TrySeqTraitsWithSfinae< T, Ignored >::UnwrappedType = T

Definition at line 37 of file try_seq.h.

◆ WrappedType

template<typename T , typename Ignored = void>
using grpc_core::promise_detail::TrySeqTraitsWithSfinae< T, Ignored >::WrappedType = absl::StatusOr<T>

Definition at line 38 of file try_seq.h.

Member Function Documentation

◆ CallFactory()

template<typename T , typename Ignored = void>
template<typename Next >
static auto grpc_core::promise_detail::TrySeqTraitsWithSfinae< T, Ignored >::CallFactory ( Next *  next,
T &&  value 
) -> decltype(next->Once(std::forward<T>(value)))
inlinestatic

Definition at line 40 of file try_seq.h.

◆ CallSeqFactory()

template<typename T , typename Ignored = void>
template<typename F , typename Elem >
static auto grpc_core::promise_detail::TrySeqTraitsWithSfinae< T, Ignored >::CallSeqFactory ( F &  f,
Elem &&  elem,
T &&  value 
) -> decltype(f(std::forward<Elem>(elem), std::forward<T>(value)))
inlinestatic

Definition at line 45 of file try_seq.h.

◆ CheckResultAndRunNext()

template<typename T , typename Ignored = void>
template<typename Result , typename RunNext >
static Poll<Result> grpc_core::promise_detail::TrySeqTraitsWithSfinae< T, Ignored >::CheckResultAndRunNext ( T  prior,
RunNext  run_next 
)
inlinestatic

Definition at line 50 of file try_seq.h.


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


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