Trait std::os::unix::prelude::OsStringExtUnstable [-] [+] [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

Create an OsString from a byte vector.

fn into_vec(self) -> Vec<u8>

Yield the underlying byte vector of this OsString.

Implementors