Trait IntoStringLossy

Source
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§

Source

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.

Implementations on Foreign Types§

Source§

impl IntoStringLossy for Vec<u8>

Source§

impl IntoStringLossy for OsString

Source§

impl IntoStringLossy for PathBuf

Implementors§