proxygen
folly::pushmi::operators Namespace Reference

Classes

struct  bulk_fn
 
struct  defer_fn
 
struct  flow_from_fn
 
struct  flow_from_producer
 
struct  flow_from_up
 
struct  from_fn
 
struct  just_fn
 

Functions

template<class... VN>
auto empty ()
 
requires And< SemiMovable< VN >... > &&SemiMovable< E > auto error (E e)
 

Variables

PUSHMI_INLINE_VAR constexpr struct folly::pushmi::operators::bulk_fn bulk
 
PUSHMI_INLINE_VAR constexpr detail::no_fail_fn no_fail {}
 
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::operators::defer_fn defer
 
PUSHMI_INLINE_VAR constexpr detail::filter_fn filter {}
 
PUSHMI_INLINE_VAR constexpr detail::for_each_fn for_each {}
 
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::operators::from_fn from
 
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::operators::flow_from_fn flow_from
 
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::operators::just_fn just
 
PUSHMI_INLINE_VAR constexpr detail::on_fn on {}
 
PUSHMI_INLINE_VAR constexpr detail::request_via_fn request_via {}
 
template<class... TN>
PUSHMI_INLINE_VAR constexpr detail::share_fn< TN... > share {}
 
PUSHMI_INLINE_VAR constexpr detail::submit_fn submit {}
 
PUSHMI_INLINE_VAR constexpr detail::submit_at_fn submit_at {}
 
PUSHMI_INLINE_VAR constexpr detail::submit_after_fn submit_after {}
 
PUSHMI_INLINE_VAR constexpr detail::blocking_submit_fn blocking_submit {}
 
template<class T >
PUSHMI_INLINE_VAR constexpr detail::get_fn< Tget {}
 
PUSHMI_INLINE_VAR constexpr detail::switch_on_error_fn switch_on_error {}
 
PUSHMI_INLINE_VAR constexpr detail::tap_fn tap {}
 
PUSHMI_INLINE_VAR constexpr detail::transform_fn transform {}
 
PUSHMI_INLINE_VAR constexpr detail::via_fn via {}
 

Function Documentation

template<class... VN>
auto folly::pushmi::operators::empty ( )
inline

Definition at line 46 of file empty.h.

References folly::empty(), and folly::pushmi::make_single_sender.

46  {
47  return make_single_sender(
48  detail::single_empty_sender_base{}, detail::single_empty_impl<VN...>{});
49 }
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::make_single_sender_fn make_single_sender
requires And<SemiMovable<VN>...>&& SemiMovable<E> auto folly::pushmi::operators::error ( E  e)

Definition at line 48 of file error.h.

References folly::pushmi::make_single_sender, and folly::gen::move.

Referenced by folly::pushmi::any_flow_receiver< PE, PV, E, VN >::any_flow_receiver(), folly::pushmi::any_receiver< E, folly::pushmi::any_executor_ref< E > >::any_receiver(), folly::expected_detail::ExpectedStorage< Value, Error >::assign(), folly::expected_detail::ExpectedStorage< Value, Error, StorageType::eUnion >::assign(), folly::expected_detail::ExpectedStorage< Value, Error, StorageType::ePODStruct >::assign(), folly::expected_detail::ExpectedStorage< Value, Error, StorageType::eUnion >::assignError(), checkItemParseError(), folly::expected_detail::ExpectedStorage< Value, Error, StorageType::eUnion >::clear(), folly::FormatArg::doSplitKey(), folly::FormatArg::enforce(), folly::Expected< int, E >::error(), fizz::test::ProtocolTest< ClientTypes, Actions >::expectError(), fizz::test::ProtocolTest< ClientTypes, Actions >::expectExceptionType(), HTTPDownstreamTest< SPDY3_1CodecPair >::expectResponses(), proxygen::HTTPDirectResponseHandler::forceConnectionClose(), folly::SocketAddress::getAddrInfo(), proxygen::getErrorString(), proxygen::HTTPTransaction::getMaxDeferredSize(), proxygen::HTTPSession::getSecurityProtocol(), testing::internal::GetTimeInMillis(), http_parser_execute(), folly::FormatArg::initSlow(), folly::AsyncTransport::isPending(), main(), proxygen::HTTP2Codec::maxRecvFrameSize(), fizz::test::MockAsyncFizzBase::MockAsyncFizzBase(), proxygen::HTTPCodec::Callback::onChunkComplete(), proxygen::HTTPTransactionHandler::onChunkComplete(), proxygen::CodecErrorResponseHandler::onError(), proxygen::HTTPDirectResponseHandler::onError(), proxygen::PushHandler::InnerPushHandler::onError(), proxygen::RequestHandlerAdaptor::onError(), proxygen::HTTPMessageFilter::onError(), CurlService::CurlClient::onError(), proxygen::FakeHTTPCodecCallback::onError(), proxygen::HTTPSession::onError(), proxygen::HTTP1xCodec::onHeadersComplete(), proxygen::HTTP1xCodec::onParserError(), ProxyService::ProxyHandler::onServerError(), proxygen::MockHTTPHandler::onTrailers(), ProxyService::ProxyHandler::onUpgrade(), proxygen::PassThroughHTTPCodecFilter::PassThroughHTTPCodecFilter(), folly::Subprocess::prepareChild(), wangle::Acceptor::processEstablishedConnection(), folly::pushmi::__adl::requires(), folly::NestedCommandLineApp::run(), proxygen::HTTPSessionBase::setSessionStats(), testing::internal::ShouldRunTestCase(), proxygen::HTTPSession::shutdownTransport(), folly::FormatArg::splitIntKey(), proxygen::HTTP2Codec::streamError(), fizz::test::AsyncFizzBaseTest::TearDown(), TEST(), folly::TEST(), TEST_F(), fizz::server::test::TEST_F(), fizz::client::test::TEST_F(), TEST_P(), test_scan(), folly::expected_detail::expected_detail_ExpectedHelper::ExpectedHelper::then_(), folly::expected_detail::expected_detail_ExpectedHelper::ExpectedHelper::thenOrThrow_(), folly::pushmi::detail::via_fn_data< Executor, Out >::via_fn_data(), and proxygen::HTTPSessionController::~HTTPSessionController().

48  {
49  return make_single_sender(
50  detail::single_error_sender_base{},
51  detail::single_error_impl<E, VN...>{std::move(e)});
52 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::make_single_sender_fn make_single_sender

Variable Documentation

PUSHMI_INLINE_VAR constexpr detail::blocking_submit_fn folly::pushmi::operators::blocking_submit {}
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::operators::flow_from_fn folly::pushmi::operators::flow_from
PUSHMI_INLINE_VAR constexpr detail::for_each_fn folly::pushmi::operators::for_each {}

Definition at line 94 of file for_each.h.

PUSHMI_INLINE_VAR constexpr detail::no_fail_fn folly::pushmi::operators::no_fail {}

Definition at line 59 of file no_fail.h.

Referenced by main().

PUSHMI_INLINE_VAR constexpr detail::on_fn folly::pushmi::operators::on {}

Definition at line 100 of file on.h.

Referenced by cmake_minimum_required(), option(), TEST(), and TEST_F().

PUSHMI_INLINE_VAR constexpr detail::request_via_fn folly::pushmi::operators::request_via {}

Definition at line 61 of file request_via.h.

Referenced by io_operation().

template<class... TN>
PUSHMI_INLINE_VAR constexpr detail::share_fn<TN...> folly::pushmi::operators::share {}
PUSHMI_INLINE_VAR constexpr detail::submit_fn folly::pushmi::operators::submit {}
PUSHMI_INLINE_VAR constexpr detail::submit_after_fn folly::pushmi::operators::submit_after {}

Definition at line 388 of file submit.h.

Referenced by TEST_F(), and time_single_sender_test().

PUSHMI_INLINE_VAR constexpr detail::switch_on_error_fn folly::pushmi::operators::switch_on_error {}

Definition at line 78 of file switch_on_error.h.

Referenced by main().

PUSHMI_INLINE_VAR constexpr detail::tap_fn folly::pushmi::operators::tap {}

Definition at line 126 of file tap.h.

Referenced by defer_execution(), io_operation(), main(), and TEST().