Trait std::os::unix::ffi::OsStrExt 1.0.0
[−]
[src]
pub trait OsStrExt { fn from_bytes(slice: &[u8]) -> &Self; fn as_bytes(&self) -> &[u8]; }
This is supported on Redox only.
Unix-specific extensions to OsStr
.
Required Methods
ⓘImportant traits for &'a mut I
fn from_bytes(slice: &[u8]) -> &Self
This is supported on Redox only.
fn as_bytes(&self) -> &[u8]
This is supported on Redox only.
Gets the underlying byte view of the OsStr
slice.
Implementors
impl OsStrExt for OsStr