Trait sgx_tstd::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

Creates an OsStr from a byte slice.

Gets the underlying byte view of the OsStr slice.

Implementors