Converting a UTF-8 slice to a vector of u16 would be done like this: OsStr::new( "My string" ). ... Returns a copy of the value. for Rust's TcpStream.
確定! 回上一頁