fidl_message

Function decode_response_strict_result

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

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