Trait fslock::ToOsStr[][src]

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

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

Required methods

Converts with possible allocation error.

Implementations on Foreign Types

Implementors