blob: 63a621672ed691b6b55793b3dc08d9c901e997c9 [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen_llcpp.
#pragma once
#include <fidl/test.bindingsdenylist/cpp/markers.h>
#include <fidl/test.bindingsdenylist/cpp/natural_types.h>
#include <fidl/test.bindingsdenylist/cpp/wire_messaging.h>
#include <fidl/test.dependent/cpp/natural_messaging.h>
#include <lib/fidl/cpp/channel.h>
#include <lib/fidl/cpp/client.h>
#include <lib/fidl/cpp/internal/thenable.h>
#include <lib/fidl/cpp/natural_types.h>
#include <lib/fidl/cpp/unified_messaging.h>
namespace fidl {
#ifdef __Fuchsia__
} // namespace fidl
template <>
class ::fidl::internal::NaturalClientImpl<::test_bindingsdenylist::Allowed>
final : public ::fidl::internal::NaturalClientBase {
public:
using NaturalClientBase::NaturalClientBase;
};
namespace fidl {
#endif // __Fuchsia__
} // namespace fidl
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalSyncClientImpl<::test_bindingsdenylist::Allowed>
final : public ::fidl::internal::SyncEndpointManagedVeneer<
::fidl::internal::NaturalSyncClientImpl<
::test_bindingsdenylist::Allowed>> {
public:
private:
::fidl::UnownedClientEnd<::test_bindingsdenylist::Allowed> _client_end()
const {
return ::fidl::UnownedClientEnd<::test_bindingsdenylist::Allowed>(
_transport().get<::fidl::internal::ChannelTransport>());
}
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalEventHandlerInterface<
::test_bindingsdenylist::Allowed> {
public:
NaturalEventHandlerInterface() = default;
virtual ~NaturalEventHandlerInterface() = default;
};
template <>
class ::fidl::AsyncEventHandler<::test_bindingsdenylist::Allowed>
: public ::fidl::internal::NaturalEventHandlerInterface<
::test_bindingsdenylist::Allowed>,
public ::fidl::internal::AsyncEventHandler {
public:
AsyncEventHandler() = default;
};
template <>
class ::fidl::internal::NaturalEventDispatcher<::test_bindingsdenylist::Allowed>
final : public ::fidl::internal::IncomingEventDispatcher<
::fidl::AsyncEventHandler<::test_bindingsdenylist::Allowed>> {
public:
explicit NaturalEventDispatcher(
::fidl::AsyncEventHandler<::test_bindingsdenylist::Allowed>*
event_handler)
: IncomingEventDispatcher(event_handler) {}
private:
std::optional<::fidl::UnbindInfo> DispatchEvent(
::fidl::IncomingMessage& msg,
internal::IncomingTransportContext transport_context) override;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalWeakEventSender<::test_bindingsdenylist::Allowed>
: public ::fidl::internal::WeakEventSenderBase {
public:
using WeakEventSenderBase::WeakEventSenderBase;
};
template <>
class ::fidl::internal::NaturalEventSender<::test_bindingsdenylist::Allowed>
: public ::fidl::internal::SyncEndpointManagedVeneer<
::fidl::internal::NaturalEventSender<
::test_bindingsdenylist::Allowed>> {
public:
using SyncEndpointManagedVeneer::SyncEndpointManagedVeneer;
};
#endif // __Fuchsia__
template <>
class ::fidl::Server<::test_bindingsdenylist::Allowed>
: public ::fidl::internal::IncomingMessageDispatcher {
public:
Server() = default;
virtual ~Server() = default;
// The FIDL protocol type that is implemented by this server.
using _EnclosingProtocol = ::test_bindingsdenylist::Allowed;
private:
void dispatch_message(
::fidl::IncomingMessage&& msg, ::fidl::Transaction* txn,
::fidl::internal::IncomingTransportContext transport_context) final;
};
#ifdef __Fuchsia__
template <>
struct ::fidl::internal::NaturalServerDispatcher<
::test_bindingsdenylist::Allowed>
final {
NaturalServerDispatcher() = delete;
static void Dispatch(::fidl::Server<::test_bindingsdenylist::Allowed>* impl,
::fidl::IncomingMessage&& msg,
internal::IncomingTransportContext transport_context,
::fidl::Transaction* txn);
private:
static const ::fidl::internal::MethodEntry entries_[];
static const ::fidl::internal::MethodEntry* entries_end_;
};
#endif // __Fuchsia__
template <>
struct ::fidl::internal::NaturalMethodTypes<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps::
LibfuzzerNeedsNonemptyProtocol> {
using Completer = fidl::Completer<::fidl::internal::NaturalCompleterBase<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps::
LibfuzzerNeedsNonemptyProtocol>>;
using ResultCallback = ::fit::callback<void(
::fidl::Result<::test_bindingsdenylist::OnlyLibfuzzerAndDeps::
LibfuzzerNeedsNonemptyProtocol>&)>;
static constexpr bool HasApplicationError = false;
static constexpr bool IsAbsentBody = true;
};
#ifdef __Fuchsia__
template <>
class ::fidl::Response<::test_bindingsdenylist::OnlyLibfuzzerAndDeps::
LibfuzzerNeedsNonemptyProtocol>
final {
public:
};
template <>
struct ::fidl::internal::MessageTraits<
::fidl::Response<::test_bindingsdenylist::OnlyLibfuzzerAndDeps::
LibfuzzerNeedsNonemptyProtocol>>
final {
public:
static constexpr bool kHasPayload = false;
};
template <>
class ::fidl::Result<::test_bindingsdenylist::OnlyLibfuzzerAndDeps::
LibfuzzerNeedsNonemptyProtocol>
final : public ::fitx::result<::fidl::Error> {
public:
using ::fitx::result<::fidl::Error>::result;
protected:
Result() = default;
};
template <>
class ::fidl::internal::NaturalClientImpl<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps>
final : public ::fidl::internal::NaturalClientBase {
public:
using NaturalClientBase::NaturalClientBase;
::fidl::internal::NaturalThenable<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps::
LibfuzzerNeedsNonemptyProtocol>
LibfuzzerNeedsNonemptyProtocol() const;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalSyncClientImpl<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps>
final : public ::fidl::internal::SyncEndpointManagedVeneer<
::fidl::internal::NaturalSyncClientImpl<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps>> {
public:
::fidl::Result<::test_bindingsdenylist::OnlyLibfuzzerAndDeps::
LibfuzzerNeedsNonemptyProtocol>
LibfuzzerNeedsNonemptyProtocol();
private:
::fidl::UnownedClientEnd<::test_bindingsdenylist::OnlyLibfuzzerAndDeps>
_client_end() const {
return ::fidl::UnownedClientEnd<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps>(
_transport().get<::fidl::internal::ChannelTransport>());
}
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalEventHandlerInterface<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps> {
public:
NaturalEventHandlerInterface() = default;
virtual ~NaturalEventHandlerInterface() = default;
};
template <>
class ::fidl::AsyncEventHandler<::test_bindingsdenylist::OnlyLibfuzzerAndDeps>
: public ::fidl::internal::NaturalEventHandlerInterface<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps>,
public ::fidl::internal::AsyncEventHandler {
public:
AsyncEventHandler() = default;
};
template <>
class ::fidl::internal::NaturalEventDispatcher<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps>
final : public ::fidl::internal::IncomingEventDispatcher<
::fidl::AsyncEventHandler<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps>> {
public:
explicit NaturalEventDispatcher(
::fidl::AsyncEventHandler<::test_bindingsdenylist::OnlyLibfuzzerAndDeps>*
event_handler)
: IncomingEventDispatcher(event_handler) {}
private:
std::optional<::fidl::UnbindInfo> DispatchEvent(
::fidl::IncomingMessage& msg,
internal::IncomingTransportContext transport_context) override;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalWeakEventSender<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps>
: public ::fidl::internal::WeakEventSenderBase {
public:
using WeakEventSenderBase::WeakEventSenderBase;
};
template <>
class ::fidl::internal::NaturalEventSender<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps>
: public ::fidl::internal::SyncEndpointManagedVeneer<
::fidl::internal::NaturalEventSender<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps>> {
public:
using SyncEndpointManagedVeneer::SyncEndpointManagedVeneer;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::Request<::test_bindingsdenylist::OnlyLibfuzzerAndDeps::
LibfuzzerNeedsNonemptyProtocol>
final {
public:
};
template <>
struct ::fidl::internal::MessageTraits<
::fidl::Request<::test_bindingsdenylist::OnlyLibfuzzerAndDeps::
LibfuzzerNeedsNonemptyProtocol>>
final {
public:
static constexpr bool kHasPayload = false;
};
#endif // __Fuchsia__
template <>
class ::fidl::internal::NaturalCompleterBase<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps::
LibfuzzerNeedsNonemptyProtocol> : public ::fidl::CompleterBase {
public:
void Reply();
protected:
using ::fidl::CompleterBase::CompleterBase;
};
template <>
class ::fidl::Server<::test_bindingsdenylist::OnlyLibfuzzerAndDeps>
: public ::fidl::internal::IncomingMessageDispatcher {
public:
Server() = default;
virtual ~Server() = default;
// The FIDL protocol type that is implemented by this server.
using _EnclosingProtocol = ::test_bindingsdenylist::OnlyLibfuzzerAndDeps;
using LibfuzzerNeedsNonemptyProtocolRequest =
::fidl::Request<::test_bindingsdenylist::OnlyLibfuzzerAndDeps::
LibfuzzerNeedsNonemptyProtocol>;
using LibfuzzerNeedsNonemptyProtocolCompleter =
::fidl::internal::NaturalCompleter<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps::
LibfuzzerNeedsNonemptyProtocol>;
virtual void LibfuzzerNeedsNonemptyProtocol(
LibfuzzerNeedsNonemptyProtocolRequest& request,
LibfuzzerNeedsNonemptyProtocolCompleter::Sync& completer) = 0;
private:
void dispatch_message(
::fidl::IncomingMessage&& msg, ::fidl::Transaction* txn,
::fidl::internal::IncomingTransportContext transport_context) final;
};
#ifdef __Fuchsia__
template <>
struct ::fidl::internal::NaturalServerDispatcher<
::test_bindingsdenylist::OnlyLibfuzzerAndDeps>
final {
NaturalServerDispatcher() = delete;
static void Dispatch(
::fidl::Server<::test_bindingsdenylist::OnlyLibfuzzerAndDeps>* impl,
::fidl::IncomingMessage&& msg,
internal::IncomingTransportContext transport_context,
::fidl::Transaction* txn);
private:
static const ::fidl::internal::MethodEntry entries_[];
static const ::fidl::internal::MethodEntry* entries_end_;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalClientImpl<
::test_bindingsdenylist::OnlyCppAndDeps>
final : public ::fidl::internal::NaturalClientBase {
public:
using NaturalClientBase::NaturalClientBase;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalSyncClientImpl<
::test_bindingsdenylist::OnlyCppAndDeps>
final : public ::fidl::internal::SyncEndpointManagedVeneer<
::fidl::internal::NaturalSyncClientImpl<
::test_bindingsdenylist::OnlyCppAndDeps>> {
public:
private:
::fidl::UnownedClientEnd<::test_bindingsdenylist::OnlyCppAndDeps>
_client_end() const {
return ::fidl::UnownedClientEnd<::test_bindingsdenylist::OnlyCppAndDeps>(
_transport().get<::fidl::internal::ChannelTransport>());
}
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalEventHandlerInterface<
::test_bindingsdenylist::OnlyCppAndDeps> {
public:
NaturalEventHandlerInterface() = default;
virtual ~NaturalEventHandlerInterface() = default;
};
template <>
class ::fidl::AsyncEventHandler<::test_bindingsdenylist::OnlyCppAndDeps>
: public ::fidl::internal::NaturalEventHandlerInterface<
::test_bindingsdenylist::OnlyCppAndDeps>,
public ::fidl::internal::AsyncEventHandler {
public:
AsyncEventHandler() = default;
};
template <>
class ::fidl::internal::NaturalEventDispatcher<
::test_bindingsdenylist::OnlyCppAndDeps>
final
: public ::fidl::internal::IncomingEventDispatcher<
::fidl::AsyncEventHandler<::test_bindingsdenylist::OnlyCppAndDeps>> {
public:
explicit NaturalEventDispatcher(
::fidl::AsyncEventHandler<::test_bindingsdenylist::OnlyCppAndDeps>*
event_handler)
: IncomingEventDispatcher(event_handler) {}
private:
std::optional<::fidl::UnbindInfo> DispatchEvent(
::fidl::IncomingMessage& msg,
internal::IncomingTransportContext transport_context) override;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalWeakEventSender<
::test_bindingsdenylist::OnlyCppAndDeps>
: public ::fidl::internal::WeakEventSenderBase {
public:
using WeakEventSenderBase::WeakEventSenderBase;
};
template <>
class ::fidl::internal::NaturalEventSender<
::test_bindingsdenylist::OnlyCppAndDeps>
: public ::fidl::internal::SyncEndpointManagedVeneer<
::fidl::internal::NaturalEventSender<
::test_bindingsdenylist::OnlyCppAndDeps>> {
public:
using SyncEndpointManagedVeneer::SyncEndpointManagedVeneer;
};
#endif // __Fuchsia__
template <>
class ::fidl::Server<::test_bindingsdenylist::OnlyCppAndDeps>
: public ::fidl::internal::IncomingMessageDispatcher {
public:
Server() = default;
virtual ~Server() = default;
// The FIDL protocol type that is implemented by this server.
using _EnclosingProtocol = ::test_bindingsdenylist::OnlyCppAndDeps;
private:
void dispatch_message(
::fidl::IncomingMessage&& msg, ::fidl::Transaction* txn,
::fidl::internal::IncomingTransportContext transport_context) final;
};
#ifdef __Fuchsia__
template <>
struct ::fidl::internal::NaturalServerDispatcher<
::test_bindingsdenylist::OnlyCppAndDeps>
final {
NaturalServerDispatcher() = delete;
static void Dispatch(
::fidl::Server<::test_bindingsdenylist::OnlyCppAndDeps>* impl,
::fidl::IncomingMessage&& msg,
internal::IncomingTransportContext transport_context,
::fidl::Transaction* txn);
private:
static const ::fidl::internal::MethodEntry entries_[];
static const ::fidl::internal::MethodEntry* entries_end_;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalClientImpl<
::test_bindingsdenylist::ImportsSameNameContext>
final : public ::fidl::internal::NaturalClientBase {
public:
using NaturalClientBase::NaturalClientBase;
::fitx::result<::fidl::Error> Unattributed() const;
::fitx::result<::fidl::Error> AlwaysAppearsInImportingLibrary() const;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalSyncClientImpl<
::test_bindingsdenylist::ImportsSameNameContext>
final : public ::fidl::internal::SyncEndpointManagedVeneer<
::fidl::internal::NaturalSyncClientImpl<
::test_bindingsdenylist::ImportsSameNameContext>> {
public:
::fitx::result<::fidl::Error> Unattributed();
::fitx::result<::fidl::Error> AlwaysAppearsInImportingLibrary();
private:
::fidl::UnownedClientEnd<::test_bindingsdenylist::ImportsSameNameContext>
_client_end() const {
return ::fidl::UnownedClientEnd<
::test_bindingsdenylist::ImportsSameNameContext>(
_transport().get<::fidl::internal::ChannelTransport>());
}
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalEventHandlerInterface<
::test_bindingsdenylist::ImportsSameNameContext> {
public:
NaturalEventHandlerInterface() = default;
virtual ~NaturalEventHandlerInterface() = default;
};
template <>
class ::fidl::AsyncEventHandler<::test_bindingsdenylist::ImportsSameNameContext>
: public ::fidl::internal::NaturalEventHandlerInterface<
::test_bindingsdenylist::ImportsSameNameContext>,
public ::fidl::internal::AsyncEventHandler {
public:
AsyncEventHandler() = default;
};
template <>
class ::fidl::internal::NaturalEventDispatcher<
::test_bindingsdenylist::ImportsSameNameContext>
final : public ::fidl::internal::IncomingEventDispatcher<
::fidl::AsyncEventHandler<
::test_bindingsdenylist::ImportsSameNameContext>> {
public:
explicit NaturalEventDispatcher(
::fidl::AsyncEventHandler<
::test_bindingsdenylist::ImportsSameNameContext>* event_handler)
: IncomingEventDispatcher(event_handler) {}
private:
std::optional<::fidl::UnbindInfo> DispatchEvent(
::fidl::IncomingMessage& msg,
internal::IncomingTransportContext transport_context) override;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalWeakEventSender<
::test_bindingsdenylist::ImportsSameNameContext>
: public ::fidl::internal::WeakEventSenderBase {
public:
using WeakEventSenderBase::WeakEventSenderBase;
};
template <>
class ::fidl::internal::NaturalEventSender<
::test_bindingsdenylist::ImportsSameNameContext>
: public ::fidl::internal::SyncEndpointManagedVeneer<
::fidl::internal::NaturalEventSender<
::test_bindingsdenylist::ImportsSameNameContext>> {
public:
using SyncEndpointManagedVeneer::SyncEndpointManagedVeneer;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::Request<
::test_bindingsdenylist::ImportsSameNameContext::Unattributed>
final {
public:
};
template <>
struct ::fidl::internal::MessageTraits<::fidl::Request<
::test_bindingsdenylist::ImportsSameNameContext::Unattributed>>
final {
public:
static constexpr bool kHasPayload = false;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::Request<::test_bindingsdenylist::ImportsSameNameContext::
AlwaysAppearsInImportingLibrary>
final {
public:
};
template <>
struct ::fidl::internal::MessageTraits<
::fidl::Request<::test_bindingsdenylist::ImportsSameNameContext::
AlwaysAppearsInImportingLibrary>>
final {
public:
static constexpr bool kHasPayload = false;
};
#endif // __Fuchsia__
template <>
class ::fidl::Server<::test_bindingsdenylist::ImportsSameNameContext>
: public ::fidl::internal::IncomingMessageDispatcher {
public:
Server() = default;
virtual ~Server() = default;
// The FIDL protocol type that is implemented by this server.
using _EnclosingProtocol = ::test_bindingsdenylist::ImportsSameNameContext;
using UnattributedRequest = ::fidl::Request<
::test_bindingsdenylist::ImportsSameNameContext::Unattributed>;
using UnattributedCompleter = ::fidl::internal::NaturalCompleter<
::test_bindingsdenylist::ImportsSameNameContext::Unattributed>;
virtual void Unattributed(UnattributedRequest& request,
UnattributedCompleter::Sync& completer) = 0;
using AlwaysAppearsInImportingLibraryRequest =
::fidl::Request<::test_bindingsdenylist::ImportsSameNameContext::
AlwaysAppearsInImportingLibrary>;
using AlwaysAppearsInImportingLibraryCompleter =
::fidl::internal::NaturalCompleter<
::test_bindingsdenylist::ImportsSameNameContext::
AlwaysAppearsInImportingLibrary>;
virtual void AlwaysAppearsInImportingLibrary(
AlwaysAppearsInImportingLibraryRequest& request,
AlwaysAppearsInImportingLibraryCompleter::Sync& completer) = 0;
private:
void dispatch_message(
::fidl::IncomingMessage&& msg, ::fidl::Transaction* txn,
::fidl::internal::IncomingTransportContext transport_context) final;
};
#ifdef __Fuchsia__
template <>
struct ::fidl::internal::NaturalServerDispatcher<
::test_bindingsdenylist::ImportsSameNameContext>
final {
NaturalServerDispatcher() = delete;
static void Dispatch(
::fidl::Server<::test_bindingsdenylist::ImportsSameNameContext>* impl,
::fidl::IncomingMessage&& msg,
internal::IncomingTransportContext transport_context,
::fidl::Transaction* txn);
private:
static const ::fidl::internal::MethodEntry entries_[];
static const ::fidl::internal::MethodEntry* entries_end_;
};
#endif // __Fuchsia__
template <>
struct ::fidl::internal::NaturalMethodTypes<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart> {
using Completer = fidl::Completer<::fidl::internal::NaturalCompleterBase<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>>;
using ResultCallback = ::fit::callback<void(
::fidl::Result<::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>&)>;
static constexpr bool HasApplicationError = true;
static constexpr bool IsEmptyStructPayload = false;
static constexpr bool IsAbsentBody = false;
};
template <>
struct ::fidl::internal::NaturalMethodTypes<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo> {
using Completer = fidl::Completer<::fidl::internal::NaturalCompleterBase<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>>;
using ResultCallback = ::fit::callback<void(
::fidl::Result<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>&)>;
static constexpr bool HasApplicationError = true;
static constexpr bool IsEmptyStructPayload = false;
static constexpr bool IsAbsentBody = false;
};
template <>
struct ::fidl::internal::NaturalMethodTypes<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer> {
using Completer = fidl::Completer<::fidl::internal::NaturalCompleterBase<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>>;
using ResultCallback = ::fit::callback<void(
::fidl::Result<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>&)>;
static constexpr bool HasApplicationError = true;
static constexpr bool IsEmptyStructPayload = false;
static constexpr bool IsAbsentBody = false;
};
template <>
struct ::fidl::internal::NaturalMethodTypes<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust> {
using Completer = fidl::Completer<::fidl::internal::NaturalCompleterBase<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>>;
using ResultCallback = ::fit::callback<void(
::fidl::Result<::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>&)>;
static constexpr bool HasApplicationError = true;
static constexpr bool IsEmptyStructPayload = false;
static constexpr bool IsAbsentBody = false;
};
template <>
struct ::fidl::internal::NaturalMethodTypes<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller> {
using Completer = fidl::Completer<::fidl::internal::NaturalCompleterBase<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>>;
using ResultCallback = ::fit::callback<void(
::fidl::Result<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>&)>;
static constexpr bool HasApplicationError = true;
static constexpr bool IsEmptyStructPayload = false;
static constexpr bool IsAbsentBody = false;
};
namespace test_bindingsdenylist {
__LOCAL extern "C" const fidl_type_t
test_bindingsdenylist_DenyEachBindingOnlyDenyDartRequestTable;
__LOCAL extern "C" const fidl_type_t
test_bindingsdenylist_DenyEachBindingOnlyDenyDartTopResponseTable;
__LOCAL extern "C" const fidl_type_t
test_bindingsdenylist_DenyEachBindingOnlyDenyGoRequestTable;
__LOCAL extern "C" const fidl_type_t
test_bindingsdenylist_DenyEachBindingOnlyDenyGoTopResponseTable;
__LOCAL extern "C" const fidl_type_t
test_bindingsdenylist_DenyEachBindingOnlyDenyLibfuzzerRequestTable;
__LOCAL extern "C" const fidl_type_t
test_bindingsdenylist_DenyEachBindingOnlyDenyLibfuzzerTopResponseTable;
__LOCAL extern "C" const fidl_type_t
test_bindingsdenylist_DenyEachBindingOnlyDenyRustRequestTable;
__LOCAL extern "C" const fidl_type_t
test_bindingsdenylist_DenyEachBindingOnlyDenyRustTopResponseTable;
__LOCAL extern "C" const fidl_type_t
test_bindingsdenylist_DenyEachBindingOnlyDenySyzkallerRequestTable;
__LOCAL extern "C" const fidl_type_t
test_bindingsdenylist_DenyEachBindingOnlyDenySyzkallerTopResponseTable;
#ifdef __Fuchsia__
} // namespace test_bindingsdenylist
template <>
class ::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>
final : public ::fitx::result<
uint32_t,
::test_bindingsdenylist::DenyEachBindingOnlyDenyDartResponse> {
public:
using ::fitx::result<
uint32_t,
::test_bindingsdenylist::DenyEachBindingOnlyDenyDartResponse>::result;
Response(::fitx::result<
uint32_t,
::test_bindingsdenylist::DenyEachBindingOnlyDenyDartResponse>
v)
: result(std::move(v)) {}
Response() = delete;
};
template <>
struct ::fidl::internal::MessageTraits<
::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>>
final {
public:
static constexpr bool kHasPayload = true;
using Payload =
::test_bindingsdenylist::DenyEachBindingOnlyDenyDartTopResponse;
};
template <>
class ::fidl::internal::NaturalMessageConverter<
::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>> {
using DomainObject =
::test_bindingsdenylist::DenyEachBindingOnlyDenyDartTopResponse;
public:
static ::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>
FromDomainObject(DomainObject o) {
if (o.result().err().has_value()) {
return ::fitx::error(std::move(o.result().err().value()));
} else {
ZX_DEBUG_ASSERT(o.result().response().has_value());
return ::fitx::ok(std::move(o.result().response().value()));
}
}
static DomainObject IntoDomainObject(
::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>&&
m) {
if (m.is_error()) {
return DomainObject{
{.result = ::test_bindingsdenylist::
DenyEachBindingOnlyDenyDartResult::WithErr(m.error_value())}};
} else {
return DomainObject{{.result = ::test_bindingsdenylist::
DenyEachBindingOnlyDenyDartResult::WithResponse(
std::move(m.value()))}};
}
}
};
namespace test_bindingsdenylist {} // namespace test_bindingsdenylist
template <>
class ::fidl::Result<::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>
final : public ::fitx::result<
::fidl::AnyErrorIn<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>,
::test_bindingsdenylist::DenyEachBindingOnlyDenyDartResponse> {
public:
using ::fitx::result<
::fidl::AnyErrorIn<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>,
::test_bindingsdenylist::DenyEachBindingOnlyDenyDartResponse>::result;
protected:
Result() = default;
};
template <>
class ::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>
final : public ::fitx::result<
uint32_t,
::test_bindingsdenylist::DenyEachBindingOnlyDenyGoResponse> {
public:
using ::fitx::result<
uint32_t,
::test_bindingsdenylist::DenyEachBindingOnlyDenyGoResponse>::result;
Response(::fitx::result<
uint32_t, ::test_bindingsdenylist::DenyEachBindingOnlyDenyGoResponse>
v)
: result(std::move(v)) {}
Response() = delete;
};
template <>
struct ::fidl::internal::MessageTraits<
::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>>
final {
public:
static constexpr bool kHasPayload = true;
using Payload = ::test_bindingsdenylist::DenyEachBindingOnlyDenyGoTopResponse;
};
template <>
class ::fidl::internal::NaturalMessageConverter<
::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>> {
using DomainObject =
::test_bindingsdenylist::DenyEachBindingOnlyDenyGoTopResponse;
public:
static ::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>
FromDomainObject(DomainObject o) {
if (o.result().err().has_value()) {
return ::fitx::error(std::move(o.result().err().value()));
} else {
ZX_DEBUG_ASSERT(o.result().response().has_value());
return ::fitx::ok(std::move(o.result().response().value()));
}
}
static DomainObject IntoDomainObject(
::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>&&
m) {
if (m.is_error()) {
return DomainObject{
{.result = ::test_bindingsdenylist::DenyEachBindingOnlyDenyGoResult::
WithErr(m.error_value())}};
} else {
return DomainObject{
{.result = ::test_bindingsdenylist::DenyEachBindingOnlyDenyGoResult::
WithResponse(std::move(m.value()))}};
}
}
};
template <>
class ::fidl::Result<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo> final
: public ::fitx::result<
::fidl::AnyErrorIn<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>,
::test_bindingsdenylist::DenyEachBindingOnlyDenyGoResponse> {
public:
using ::fitx::result<
::fidl::AnyErrorIn<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>,
::test_bindingsdenylist::DenyEachBindingOnlyDenyGoResponse>::result;
protected:
Result() = default;
};
template <>
class ::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>
final
: public ::fitx::result<
uint32_t,
::test_bindingsdenylist::DenyEachBindingOnlyDenyLibfuzzerResponse> {
public:
using ::fitx::result<uint32_t,
::test_bindingsdenylist::
DenyEachBindingOnlyDenyLibfuzzerResponse>::result;
Response(::fitx::result<
uint32_t,
::test_bindingsdenylist::DenyEachBindingOnlyDenyLibfuzzerResponse>
v)
: result(std::move(v)) {}
Response() = delete;
};
template <>
struct ::fidl::internal::MessageTraits<::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>>
final {
public:
static constexpr bool kHasPayload = true;
using Payload =
::test_bindingsdenylist::DenyEachBindingOnlyDenyLibfuzzerTopResponse;
};
template <>
class ::fidl::internal::NaturalMessageConverter<::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>> {
using DomainObject =
::test_bindingsdenylist::DenyEachBindingOnlyDenyLibfuzzerTopResponse;
public:
static ::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>
FromDomainObject(DomainObject o) {
if (o.result().err().has_value()) {
return ::fitx::error(std::move(o.result().err().value()));
} else {
ZX_DEBUG_ASSERT(o.result().response().has_value());
return ::fitx::ok(std::move(o.result().response().value()));
}
}
static DomainObject IntoDomainObject(
::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>&& m) {
if (m.is_error()) {
return DomainObject{{.result = ::test_bindingsdenylist::
DenyEachBindingOnlyDenyLibfuzzerResult::WithErr(
m.error_value())}};
} else {
return DomainObject{
{.result =
::test_bindingsdenylist::DenyEachBindingOnlyDenyLibfuzzerResult::
WithResponse(std::move(m.value()))}};
}
}
};
template <>
class ::fidl::Result<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>
final
: public ::fitx::result<
::fidl::AnyErrorIn<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>,
::test_bindingsdenylist::DenyEachBindingOnlyDenyLibfuzzerResponse> {
public:
using ::fitx::result<
::fidl::AnyErrorIn<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>,
::test_bindingsdenylist::DenyEachBindingOnlyDenyLibfuzzerResponse>::
result;
protected:
Result() = default;
};
template <>
class ::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>
final : public ::fitx::result<
uint32_t,
::test_bindingsdenylist::DenyEachBindingOnlyDenyRustResponse> {
public:
using ::fitx::result<
uint32_t,
::test_bindingsdenylist::DenyEachBindingOnlyDenyRustResponse>::result;
Response(::fitx::result<
uint32_t,
::test_bindingsdenylist::DenyEachBindingOnlyDenyRustResponse>
v)
: result(std::move(v)) {}
Response() = delete;
};
template <>
struct ::fidl::internal::MessageTraits<
::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>>
final {
public:
static constexpr bool kHasPayload = true;
using Payload =
::test_bindingsdenylist::DenyEachBindingOnlyDenyRustTopResponse;
};
template <>
class ::fidl::internal::NaturalMessageConverter<
::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>> {
using DomainObject =
::test_bindingsdenylist::DenyEachBindingOnlyDenyRustTopResponse;
public:
static ::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>
FromDomainObject(DomainObject o) {
if (o.result().err().has_value()) {
return ::fitx::error(std::move(o.result().err().value()));
} else {
ZX_DEBUG_ASSERT(o.result().response().has_value());
return ::fitx::ok(std::move(o.result().response().value()));
}
}
static DomainObject IntoDomainObject(
::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>&&
m) {
if (m.is_error()) {
return DomainObject{
{.result = ::test_bindingsdenylist::
DenyEachBindingOnlyDenyRustResult::WithErr(m.error_value())}};
} else {
return DomainObject{{.result = ::test_bindingsdenylist::
DenyEachBindingOnlyDenyRustResult::WithResponse(
std::move(m.value()))}};
}
}
};
template <>
class ::fidl::Result<::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>
final : public ::fitx::result<
::fidl::AnyErrorIn<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>,
::test_bindingsdenylist::DenyEachBindingOnlyDenyRustResponse> {
public:
using ::fitx::result<
::fidl::AnyErrorIn<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>,
::test_bindingsdenylist::DenyEachBindingOnlyDenyRustResponse>::result;
protected:
Result() = default;
};
template <>
class ::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>
final
: public ::fitx::result<
uint32_t,
::test_bindingsdenylist::DenyEachBindingOnlyDenySyzkallerResponse> {
public:
using ::fitx::result<uint32_t,
::test_bindingsdenylist::
DenyEachBindingOnlyDenySyzkallerResponse>::result;
Response(::fitx::result<
uint32_t,
::test_bindingsdenylist::DenyEachBindingOnlyDenySyzkallerResponse>
v)
: result(std::move(v)) {}
Response() = delete;
};
template <>
struct ::fidl::internal::MessageTraits<::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>>
final {
public:
static constexpr bool kHasPayload = true;
using Payload =
::test_bindingsdenylist::DenyEachBindingOnlyDenySyzkallerTopResponse;
};
template <>
class ::fidl::internal::NaturalMessageConverter<::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>> {
using DomainObject =
::test_bindingsdenylist::DenyEachBindingOnlyDenySyzkallerTopResponse;
public:
static ::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>
FromDomainObject(DomainObject o) {
if (o.result().err().has_value()) {
return ::fitx::error(std::move(o.result().err().value()));
} else {
ZX_DEBUG_ASSERT(o.result().response().has_value());
return ::fitx::ok(std::move(o.result().response().value()));
}
}
static DomainObject IntoDomainObject(
::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>&& m) {
if (m.is_error()) {
return DomainObject{{.result = ::test_bindingsdenylist::
DenyEachBindingOnlyDenySyzkallerResult::WithErr(
m.error_value())}};
} else {
return DomainObject{
{.result =
::test_bindingsdenylist::DenyEachBindingOnlyDenySyzkallerResult::
WithResponse(std::move(m.value()))}};
}
}
};
template <>
class ::fidl::Result<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>
final
: public ::fitx::result<
::fidl::AnyErrorIn<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>,
::test_bindingsdenylist::DenyEachBindingOnlyDenySyzkallerResponse> {
public:
using ::fitx::result<
::fidl::AnyErrorIn<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>,
::test_bindingsdenylist::DenyEachBindingOnlyDenySyzkallerResponse>::
result;
protected:
Result() = default;
};
template <>
class ::fidl::internal::NaturalClientImpl<
::test_bindingsdenylist::DenyEachBinding>
final : public ::fidl::internal::NaturalClientBase {
public:
using NaturalClientBase::NaturalClientBase;
::fidl::internal::NaturalThenable<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>
OnlyDenyDart(
::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>
request) const;
::fidl::internal::NaturalThenable<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>
OnlyDenyGo(
::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>
request) const;
::fidl::internal::NaturalThenable<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>
OnlyDenyLibfuzzer(::fidl::Request<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>
request) const;
::fidl::internal::NaturalThenable<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>
OnlyDenyRust(
::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>
request) const;
::fidl::internal::NaturalThenable<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>
OnlyDenySyzkaller(::fidl::Request<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>
request) const;
};
namespace test_bindingsdenylist {
#endif // __Fuchsia__
} // namespace test_bindingsdenylist
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalSyncClientImpl<
::test_bindingsdenylist::DenyEachBinding>
final : public ::fidl::internal::SyncEndpointManagedVeneer<
::fidl::internal::NaturalSyncClientImpl<
::test_bindingsdenylist::DenyEachBinding>> {
public:
::fidl::Result<::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>
OnlyDenyDart(
::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>
request);
::fidl::Result<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>
OnlyDenyGo(
::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>
request);
::fidl::Result<::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>
OnlyDenyLibfuzzer(::fidl::Request<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>
request);
::fidl::Result<::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>
OnlyDenyRust(
::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>
request);
::fidl::Result<::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>
OnlyDenySyzkaller(::fidl::Request<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>
request);
private:
::fidl::UnownedClientEnd<::test_bindingsdenylist::DenyEachBinding>
_client_end() const {
return ::fidl::UnownedClientEnd<::test_bindingsdenylist::DenyEachBinding>(
_transport().get<::fidl::internal::ChannelTransport>());
}
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalEventHandlerInterface<
::test_bindingsdenylist::DenyEachBinding> {
public:
NaturalEventHandlerInterface() = default;
virtual ~NaturalEventHandlerInterface() = default;
};
template <>
class ::fidl::AsyncEventHandler<::test_bindingsdenylist::DenyEachBinding>
: public ::fidl::internal::NaturalEventHandlerInterface<
::test_bindingsdenylist::DenyEachBinding>,
public ::fidl::internal::AsyncEventHandler {
public:
AsyncEventHandler() = default;
};
template <>
class ::fidl::internal::NaturalEventDispatcher<
::test_bindingsdenylist::DenyEachBinding>
final
: public ::fidl::internal::IncomingEventDispatcher<
::fidl::AsyncEventHandler<::test_bindingsdenylist::DenyEachBinding>> {
public:
explicit NaturalEventDispatcher(
::fidl::AsyncEventHandler<::test_bindingsdenylist::DenyEachBinding>*
event_handler)
: IncomingEventDispatcher(event_handler) {}
private:
std::optional<::fidl::UnbindInfo> DispatchEvent(
::fidl::IncomingMessage& msg,
internal::IncomingTransportContext transport_context) override;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::internal::NaturalWeakEventSender<
::test_bindingsdenylist::DenyEachBinding>
: public ::fidl::internal::WeakEventSenderBase {
public:
using WeakEventSenderBase::WeakEventSenderBase;
};
template <>
class ::fidl::internal::NaturalEventSender<
::test_bindingsdenylist::DenyEachBinding>
: public ::fidl::internal::SyncEndpointManagedVeneer<
::fidl::internal::NaturalEventSender<
::test_bindingsdenylist::DenyEachBinding>> {
public:
using SyncEndpointManagedVeneer::SyncEndpointManagedVeneer;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>
final : public ::test_bindingsdenylist::DenyEachBindingOnlyDenyDartRequest {
public:
using ::test_bindingsdenylist::DenyEachBindingOnlyDenyDartRequest::
DenyEachBindingOnlyDenyDartRequest;
Request(::test_bindingsdenylist::DenyEachBindingOnlyDenyDartRequest v)
: ::test_bindingsdenylist::DenyEachBindingOnlyDenyDartRequest(
std::move(v)) {}
};
template <>
struct ::fidl::internal::MessageTraits<
::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>>
final {
public:
static constexpr bool kHasPayload = true;
using Payload = ::test_bindingsdenylist::DenyEachBindingOnlyDenyDartRequest;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>
final : public ::test_bindingsdenylist::DenyEachBindingOnlyDenyGoRequest {
public:
using ::test_bindingsdenylist::DenyEachBindingOnlyDenyGoRequest::
DenyEachBindingOnlyDenyGoRequest;
Request(::test_bindingsdenylist::DenyEachBindingOnlyDenyGoRequest v)
: ::test_bindingsdenylist::DenyEachBindingOnlyDenyGoRequest(
std::move(v)) {}
};
template <>
struct ::fidl::internal::MessageTraits<
::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>>
final {
public:
static constexpr bool kHasPayload = true;
using Payload = ::test_bindingsdenylist::DenyEachBindingOnlyDenyGoRequest;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::Request<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>
final
: public ::test_bindingsdenylist::DenyEachBindingOnlyDenyLibfuzzerRequest {
public:
using ::test_bindingsdenylist::DenyEachBindingOnlyDenyLibfuzzerRequest::
DenyEachBindingOnlyDenyLibfuzzerRequest;
Request(::test_bindingsdenylist::DenyEachBindingOnlyDenyLibfuzzerRequest v)
: ::test_bindingsdenylist::DenyEachBindingOnlyDenyLibfuzzerRequest(
std::move(v)) {}
};
template <>
struct ::fidl::internal::MessageTraits<::fidl::Request<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>>
final {
public:
static constexpr bool kHasPayload = true;
using Payload =
::test_bindingsdenylist::DenyEachBindingOnlyDenyLibfuzzerRequest;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>
final : public ::test_bindingsdenylist::DenyEachBindingOnlyDenyRustRequest {
public:
using ::test_bindingsdenylist::DenyEachBindingOnlyDenyRustRequest::
DenyEachBindingOnlyDenyRustRequest;
Request(::test_bindingsdenylist::DenyEachBindingOnlyDenyRustRequest v)
: ::test_bindingsdenylist::DenyEachBindingOnlyDenyRustRequest(
std::move(v)) {}
};
template <>
struct ::fidl::internal::MessageTraits<
::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>>
final {
public:
static constexpr bool kHasPayload = true;
using Payload = ::test_bindingsdenylist::DenyEachBindingOnlyDenyRustRequest;
};
#endif // __Fuchsia__
#ifdef __Fuchsia__
template <>
class ::fidl::Request<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>
final
: public ::test_bindingsdenylist::DenyEachBindingOnlyDenySyzkallerRequest {
public:
using ::test_bindingsdenylist::DenyEachBindingOnlyDenySyzkallerRequest::
DenyEachBindingOnlyDenySyzkallerRequest;
Request(::test_bindingsdenylist::DenyEachBindingOnlyDenySyzkallerRequest v)
: ::test_bindingsdenylist::DenyEachBindingOnlyDenySyzkallerRequest(
std::move(v)) {}
};
template <>
struct ::fidl::internal::MessageTraits<::fidl::Request<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>>
final {
public:
static constexpr bool kHasPayload = true;
using Payload =
::test_bindingsdenylist::DenyEachBindingOnlyDenySyzkallerRequest;
};
#endif // __Fuchsia__
template <>
class ::fidl::internal::NaturalCompleterBase<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>
: public ::fidl::CompleterBase {
public:
void Reply(
::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>&&
response);
protected:
using ::fidl::CompleterBase::CompleterBase;
};
template <>
class ::fidl::internal::NaturalCompleterBase<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>
: public ::fidl::CompleterBase {
public:
void Reply(
::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>&&
response);
protected:
using ::fidl::CompleterBase::CompleterBase;
};
template <>
class ::fidl::internal::NaturalCompleterBase<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>
: public ::fidl::CompleterBase {
public:
void Reply(::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>&&
response);
protected:
using ::fidl::CompleterBase::CompleterBase;
};
template <>
class ::fidl::internal::NaturalCompleterBase<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>
: public ::fidl::CompleterBase {
public:
void Reply(
::fidl::Response<::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>&&
response);
protected:
using ::fidl::CompleterBase::CompleterBase;
};
template <>
class ::fidl::internal::NaturalCompleterBase<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>
: public ::fidl::CompleterBase {
public:
void Reply(::fidl::Response<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>&&
response);
protected:
using ::fidl::CompleterBase::CompleterBase;
};
template <>
class ::fidl::Server<::test_bindingsdenylist::DenyEachBinding>
: public ::fidl::internal::IncomingMessageDispatcher {
public:
Server() = default;
virtual ~Server() = default;
// The FIDL protocol type that is implemented by this server.
using _EnclosingProtocol = ::test_bindingsdenylist::DenyEachBinding;
using OnlyDenyDartRequest =
::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>;
using OnlyDenyDartCompleter = ::fidl::internal::NaturalCompleter<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyDart>;
virtual void OnlyDenyDart(OnlyDenyDartRequest& request,
OnlyDenyDartCompleter::Sync& completer) = 0;
using OnlyDenyGoRequest =
::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>;
using OnlyDenyGoCompleter = ::fidl::internal::NaturalCompleter<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyGo>;
virtual void OnlyDenyGo(OnlyDenyGoRequest& request,
OnlyDenyGoCompleter::Sync& completer) = 0;
using OnlyDenyLibfuzzerRequest = ::fidl::Request<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>;
using OnlyDenyLibfuzzerCompleter = ::fidl::internal::NaturalCompleter<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyLibfuzzer>;
virtual void OnlyDenyLibfuzzer(
OnlyDenyLibfuzzerRequest& request,
OnlyDenyLibfuzzerCompleter::Sync& completer) = 0;
using OnlyDenyRustRequest =
::fidl::Request<::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>;
using OnlyDenyRustCompleter = ::fidl::internal::NaturalCompleter<
::test_bindingsdenylist::DenyEachBinding::OnlyDenyRust>;
virtual void OnlyDenyRust(OnlyDenyRustRequest& request,
OnlyDenyRustCompleter::Sync& completer) = 0;
using OnlyDenySyzkallerRequest = ::fidl::Request<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>;
using OnlyDenySyzkallerCompleter = ::fidl::internal::NaturalCompleter<
::test_bindingsdenylist::DenyEachBinding::OnlyDenySyzkaller>;
virtual void OnlyDenySyzkaller(
OnlyDenySyzkallerRequest& request,
OnlyDenySyzkallerCompleter::Sync& completer) = 0;
private:
void dispatch_message(
::fidl::IncomingMessage&& msg, ::fidl::Transaction* txn,
::fidl::internal::IncomingTransportContext transport_context) final;
};
#ifdef __Fuchsia__
template <>
struct ::fidl::internal::NaturalServerDispatcher<
::test_bindingsdenylist::DenyEachBinding>
final {
NaturalServerDispatcher() = delete;
static void Dispatch(
::fidl::Server<::test_bindingsdenylist::DenyEachBinding>* impl,
::fidl::IncomingMessage&& msg,
internal::IncomingTransportContext transport_context,
::fidl::Transaction* txn);
private:
static const ::fidl::internal::MethodEntry entries_[];
static const ::fidl::internal::MethodEntry* entries_end_;
};
#endif // __Fuchsia__