pub fn decode_view_function_response_with_info<'scale, 'resolver, V>(
cursor: &mut &'scale [u8],
view_function_info: &ViewFunctionInfo<'_, <V::TypeResolver as TypeResolver>::TypeId>,
type_resolver: &'resolver V::TypeResolver,
visitor: V,
) -> Result<V::Value<'scale, 'resolver>, ViewFunctionDecodeError<<V::TypeResolver as TypeResolver>::TypeId>>Expand description
Decode a View Function response.
Unlike decode_view_function_response, which obtains the View Function information internally given the trait and
method names, this function takes the View Function info as an argument. This is useful if you already have the
View Function info available, for exampel if you are making multiple calls to the same API and wish to decode each one.