Trait std::os::unix::ffi::OsStrExt    
            
                [−]
            
        [src]
pub trait OsStrExt {
    fn from_bytes(slice: &[u8]) -> &Self;
    fn as_bytes(&self) -> &[u8];
}Unix-specific extensions to OsStr.
Required Methods
fn from_bytes(slice: &[u8]) -> &Self
fn as_bytes(&self) -> &[u8]
Gets the underlying byte view of the OsStr slice.