pub fn decode_response_flexible_result<T: Body, E: ErrorType>(
header: TransactionHeader,
body: &[u8],
) -> Result<MaybeUnknown<Result<T, E>>, Error>where
<T::MarkerInResultUnion as TypeMarker>::Owned: Decode<T::MarkerInResultUnion, NoHandleResourceDialect>,
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
.