[][src]Trait fslock::ToOsStr

pub trait ToOsStr {
    fn to_os_str(&self) -> Result<EitherOsStr, Error>;
}

Conversion of anything to an either borrowed or owned OS-native string. If allocation fails, an error shall be returned.

Required methods

fn to_os_str(&self) -> Result<EitherOsStr, Error>

Converts with possible allocation error.

Loading content...

Implementations on Foreign Types

impl ToOsStr for str[src]

impl ToOsStr for OsStr[src]

impl ToOsStr for String[src]

impl ToOsStr for OsString[src]

impl ToOsStr for PathBuf[src]

impl ToOsStr for Path[src]

Loading content...

Implementors

impl ToOsStr for fslock::OsStr[src]

impl ToOsStr for fslock::OsString[src]

impl<'str> ToOsStr for EitherOsStr<'str>[src]

Loading content...