class MsgWrapper

Defined at line 91 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/cpp/fidl/test.types/cpp/markers.h

Certain traits are only implemented for top level (i.e. request/response struct)

types, since LLCPP only calls encode/decode on those top level types.

Types used in tests that exercise these codepaths (e.g. involving HasFlexibleEnvelope)

should be put in a request/response struct instead of a regular struct in order

to reflect the actual paths exercised within a protocol.

For example, to test a union MyUnion, instead of:

- declaring wrapper struct `struct MyUnionStruct { MyUnion xu };`

- writing encode/decode tests in C++ using MyUnionStruct

do:

- add method `MyUnion() -> (MyUnion result);`

- write tests in C++ using MsgWrapper::MyUnionResponse

Public Members

static Openness kOpenness

Records