proxygen
folly::pushmi::detail::single_error_impl< E, VN > Struct Template Reference

#include <error.h>

Public Member Functions

requires ReceiveError< Out, E > &&ReceiveValue< Out, VN... > void operator() (single_error_sender_base &, Out out)
 

Public Attributes

E e_
 

Detailed Description

template<class E, class... VN>
struct folly::pushmi::detail::single_error_impl< E, VN >

Definition at line 32 of file error.h.

Member Function Documentation

template<class E , class... VN>
requires ReceiveError<Out, E>&& ReceiveValue<Out, VN...> void folly::pushmi::detail::single_error_impl< E, VN >::operator() ( single_error_sender_base ,
Out  out 
)
inline

Definition at line 36 of file error.h.

References folly::gen::move, folly::pushmi::detail::PUSHMI_TEMPLATE(), folly::pushmi::detail::requires(), and folly::pushmi::set_error.

38  {
39  set_error(out, std::move(e_));
40  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
PUSHMI_INLINE_VAR constexpr __adl::set_error_fn set_error

Member Data Documentation

template<class E , class... VN>
E folly::pushmi::detail::single_error_impl< E, VN >::e_

Definition at line 33 of file error.h.


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