IntoOsString

Trait IntoOsString 

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

Source

fn into_os_string(self) -> Result<OsString, Error>

Converts with possible allocation error.

Implementations on Foreign Types§

Source§

impl IntoOsString for String

Source§

impl IntoOsString for OsString

Source§

impl IntoOsString for PathBuf

Source§

impl<'str> IntoOsString for &'str str

Source§

impl<'str> IntoOsString for &'str OsStr

Source§

impl<'str> IntoOsString for &'str Path

Implementors§

Source§

impl IntoOsString for fslock_arti_fork::OsString

Source§

impl<'str> IntoOsString for &'str fslock_arti_fork::OsStr

Source§

impl<'str> IntoOsString for EitherOsStr<'str>