template <typename Method>

class Response

|Response| represents the response of a FIDL method call, using natural

types. See |WireResponse| for the equivalent using wire types.

When |Method| response has a payload, |Response| inherits from:

- If |Method| uses the error syntax:

- If the success value is empty: `fit::result

<AppError

>`.

- Otherwise: `fit::result

<AppError

, SuccessValue>`.

- If |Method| does not use the error syntax: the payload type.

When |Method| response has no payload, those operations will be absent.

When |Method| has no response (one-way), this class will be undefined.