pub trait IntoOsString {
// Required method
fn into_os_string(self) -> Result<OsString, Error>;
}
Expand description
Conversion of anything into an owned OS-native string. If allocation fails, an error shall be returned.
Required Methods§
Sourcefn into_os_string(self) -> Result<OsString, Error>
fn into_os_string(self) -> Result<OsString, Error>
Converts with possible allocation error.