trait FromBytesHack {
// Required method
fn from_bytes_hack(b: &[u8]) -> &OsStr;
}Expand description
Byte-slice to OsStr helper kept local to avoid a trait import at call sites.
Required Methods§
fn from_bytes_hack(b: &[u8]) -> &OsStr
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".