pub fn render_storage_key_values(
key_value_pairs: &[(Vec<Value>, Value<u32>)],
) -> Result<String>Expand description
Renders storage key-value pairs into a human-readable string format.
Takes a slice of tuples containing storage keys and their associated values and formats them into a readable string representation. Each key-value pair is rendered on separate lines within square brackets.
§Arguments
key_value_pairs- A slice of tuples where each tuple contains:- A vector of storage keys.
- The associated storage value.
§Returns
Ok(String)- A formatted string containing the rendered key-value pairs.Err(_)- If there’s an error converting the values to strings.