Trait std::os::unix::ffi::OsStringExt [] [src]

pub trait OsStringExt {
    fn from_vec(vec: Vec<u8>) -> Self;
    fn into_vec(self) -> Vec<u8>;
}

Unix-specific extensions to OsString.

Required Methods

fn from_vec(vec: Vec<u8>) -> Self

Creates an OsString from a byte vector.

fn into_vec(self) -> Vec<u8>

Yields the underlying byte vector of this OsString.

Implementors