Expand description
Required Methods
Implementors
impl ToString for char
1.46.0 · sourceimpl ToString for i8
1.54.0 · sourceimpl ToString for str
1.9.0 · sourceimpl ToString for u8
1.54.0 · sourceimpl ToString for String
1.17.0 · sourceimpl<'_> ToString for Cow<'_, str>
1.17.0 · sourceimpl<T> ToString for T where
T: Display + ?Sized,
sourcePanics
In this implementation, the to_string method panics
if the Display implementation returns an error.
This indicates an incorrect Display implementation
since fmt::Write for String never returns an error itself.