fidl_message

Function decode_response_flexible

Source
pub fn decode_response_flexible<T: Body>(
    header: TransactionHeader,
    body: &[u8],
) -> Result<MaybeUnknown<T>, Error>
Expand description

Decodes a FIDL response body for a flexible two-way method without error syntax. Assumes header and body come from decode_transaction_header.