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
fn to_os_str(&self) -> Result<EitherOsStr<'_>, Error>
fn to_os_str(&self) -> Result<EitherOsStr<'_>, Error>
Converts with possible allocation error.