Function fidl_message::encode_response_flexible
source · pub fn encode_response_flexible<T: Body>(
header: TransactionHeader,
body: T
) -> Result<Vec<u8>, Error>
Expand description
Encodes a FIDL transaction response for a flexible two-way method without error syntax. Wraps the body in a result union set to ordinal 1 (success).