Expand description
Required methods
Implementations on Foreign Types
Implementors
impl ToString for Cow<'_, str>
impl ToString for String
impl<T: Display + ?Sized> ToString for T
Panics
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.