template <typename T>

struct TypeTraits

Defined at line 143 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/traits.h

A type trait that contains several properties of FIDL types which are

important for encoding/decoding.

|kMaxNumHandles| is a uint32_t specifying the upper bound on the number

of contained handles.

|kMaxDepth| is a uint32_t specifying the upper bound on the object

nesting depth.

|kPrimarySize| is a uint32_t specifying the size in bytes of the

inline part of the message.

|kMaxOutOfLine| is a uint32_t specifying the upper bound on the

out-of-line message size. It is

std::numeric_limits

<uint32

_t>::max() if |T| is

unbounded.

|kHasFlexibleEnvelope| is a bool specifying if this message contains a

flexible union or a flexible table.

|kHasPointer| is a boolean specifying if the structure contains

pointer indirections, hence requires linearization

when sending.

Additionally, if |T| is a transactional message:

|kMessageKind| identifies if this message is a request or a response.

If undefined, the type may be used either as a request

or a response.