pub trait IntoStringLossy {
// Required method
fn into_string_lossy(self) -> String;
}Expand description
Adds the into_string_lossy method to OsString and Vec<u8>.
Required Methods§
Sourcefn into_string_lossy(self) -> String
fn into_string_lossy(self) -> String
Consumes the ownership and converts the string-like object into a real string. Unconvertible characters are replaced by U+FFFD.