#[repr(transparent)]pub struct OsStr { /* private fields */ }
Expand description
Borrowed allocation of an OS-native string.
Trait Implementations
sourceimpl<'str> AsRef<OsStr> for EitherOsStr<'str>
impl<'str> AsRef<OsStr> for EitherOsStr<'str>
sourceimpl<'str> IntoOsString for &'str OsStr
impl<'str> IntoOsString for &'str OsStr
sourcefn into_os_string(self) -> Result<OsString, Error>
fn into_os_string(self) -> Result<OsString, Error>
Converts with possible allocation error.