pub fn to_string<T>(to: &T) -> Result<String> where
    T: Serialize + ?Sized
Expand description

Write a value to a string

Errors

when the data can not be written