pub fn raw_value_to_string<T>(value: &Value<T>, indent: &str) -> Result<String>Expand description
Converts a raw SCALE value to a human-readable string representation.
This function takes a raw SCALE value and formats it into a string using custom formatters:
- Formats byte sequences as hex strings.
- Unwraps single-element tuples.
- Uses pretty printing for better readability.
§Arguments
value- The raw SCALE value to convert to string.
§Returns
Ok(String)- The formatted string representation of the value.Err(_)- If the value cannot be converted to string.