Public Types | Static Public Member Functions | List of all members
grpc_core::promise_detail::TrySeqTraitsWithSfinae< absl::StatusOr< T > > 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, absl::StatusOr< T > &&status) -> decltype(next->Once(std::move(*status)))
 
template<typename F , typename Elem >
static auto CallSeqFactory (F &f, Elem &&elem, absl::StatusOr< T > value) -> decltype(f(std::forward< Elem >(elem), std::move(*value)))
 
template<typename Result , typename RunNext >
static Poll< Result > CheckResultAndRunNext (absl::StatusOr< T > prior, RunNext run_next)
 

Detailed Description

template<typename T>
struct grpc_core::promise_detail::TrySeqTraitsWithSfinae< absl::StatusOr< T > >

Definition at line 56 of file try_seq.h.

Member Typedef Documentation

◆ UnwrappedType

Definition at line 57 of file try_seq.h.

◆ WrappedType

Definition at line 58 of file try_seq.h.

Member Function Documentation

◆ CallFactory()

template<typename T >
template<typename Next >
static auto grpc_core::promise_detail::TrySeqTraitsWithSfinae< absl::StatusOr< T > >::CallFactory ( Next *  next,
absl::StatusOr< T > &&  status 
) -> decltype(next->Once(std::move(*status)))
inlinestatic

Definition at line 60 of file try_seq.h.

◆ CallSeqFactory()

template<typename T >
template<typename F , typename Elem >
static auto grpc_core::promise_detail::TrySeqTraitsWithSfinae< absl::StatusOr< T > >::CallSeqFactory ( F &  f,
Elem &&  elem,
absl::StatusOr< T value 
) -> decltype(f(std::forward<Elem>(elem), std::move(*value)))
inlinestatic

Definition at line 65 of file try_seq.h.

◆ CheckResultAndRunNext()

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

Definition at line 70 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