/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/ |
H A D | command.rs | 55 pub fn new<S: AsRef<OsStr>>(program: S) -> Self { in new() 81 pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut PtyCommand { in arg() 101 pub fn args<I: IntoIterator<Item = S>, S: AsRef<OsStr>>(&mut self, args: I) -> &mut PtyCommand { in args() 121 pub fn env<K: AsRef<OsStr>, V: AsRef<OsStr>>(&mut self, key: K, val: V) -> &mut PtyCommand { in env() 155 K: AsRef<OsStr>, in envs() 156 V: AsRef<OsStr>, in envs() 176 pub fn env_remove<K: AsRef<OsStr>>(&mut self, key: K) -> &mut PtyCommand { in env_remove() 204 pub fn current_dir<P: AsRef<Path>>(&mut self, dir: P) -> &mut PtyCommand { in current_dir() 449 pub fn arg0<S: AsRef<OsSt [all...] |
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/ |
H A D | async_dir.rs | 59 pub async fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> { 88 pub async fn create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> { 118 pub async fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> { 144 pub async fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> { 171 pub async fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> { 206 pub async fn remove_file<P: AsRef<Path>>(path: P) -> io::Result<()> { 237 pub async fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()> { 273 pub async fn copy<P: AsRef<Path>, Q: AsRef<Pat [all...] |
H A D | open_options.rs | 295 pub async fn open<P: AsRef<Path>>(&self, path: P) -> io::Result<File> {
|
H A D | async_file.rs | 139 pub async fn open<P: AsRef<Path>>(path: P) -> io::Result<File> { in fmt() 161 pub async fn create<P: AsRef<Path>>(path: P) -> io::Result<File> { in fmt()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/ |
H A D | command.rs | 68 pub fn new<S: AsRef<OsStr>>(program: S) -> Self { in new() 110 pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut Command { in arg() 129 pub fn args<I: IntoIterator<Item = S>, S: AsRef<OsStr>>(&mut self, args: I) -> &mut Command { in args() 148 pub fn env<K: AsRef<OsStr>, V: AsRef<OsStr>>(&mut self, key: K, val: V) -> &mut Command { in env() 181 S: AsRef<OsStr>, in envs() 182 V: AsRef<OsStr>, in envs() 202 pub fn env_remove<S: AsRef<OsStr>>(&mut self, key: S) -> &mut Command { in env_remove() 240 pub fn current_dir<P: AsRef<Path>>(&mut self, dir: P) -> &mut Command { in current_dir() 544 pub fn arg0<S: AsRef<OsSt [all...] |
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/uds/ |
H A D | datagram.rs | 38 pub fn bind<P: AsRef<Path>>(path: P) -> io::Result<UnixDatagram> { in bind() 82 pub fn connect<P: AsRef<Path>>(&self, path: P) -> io::Result<()> { in connect() 203 pub fn send_to<P: AsRef<Path>>(&self, buf: &[u8], path: P) -> io::Result<usize> { in send_to()
|
H A D | stream.rs | 39 pub fn connect<P: AsRef<Path>>(path: P) -> io::Result<UnixStream> { in connect()
|
H A D | listener.rs | 42 pub fn bind<P: AsRef<Path>>(path: P) -> io::Result<UnixListener> { in bind()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/unix/ |
H A D | datagram.rs | 45 pub fn bind<P: AsRef<Path>>(path: P) -> Result<UnixDatagram> { in bind() 307 pub fn connect<P: AsRef<Path>>(&self, path: P) -> Result<()> { in connect() 347 pub async fn send_to<P: AsRef<Path>>(&self, buf: &[u8], path: P) -> Result<usize> {
|
H A D | listener.rs | 44 pub fn bind<P: AsRef<Path>>(path: P) -> Result<UnixListener> { in bind()
|
H A D | stream.rs | 54 pub async fn connect<P: AsRef<Path>>(path: P) -> Result<UnixStream> {
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/ |
H A D | ctx.rs | 172 P: AsRef<Path>, 205 P: AsRef<Path>, 222 P: AsRef<Path>, 232 P: AsRef<Path>,
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ |
H A D | foreign.rs | 119 impl AsRef<$borrowed> for $owned { impls
|
H A D | stack.rs | 56 impl<T: Stackof> AsRef<StackRef<T>> for Stack<T> { impls
|
H A D | adapter.rs | 84 pub fn ca_file<T: AsRef<Path>>(mut self, path: T) -> Self { in ca_file() 170 pub fn certificate_file<T: AsRef<Path>>(mut self, path: T, file_type: TlsFileType) -> Self { in certificate_file() 192 pub fn certificate_chain_file<T: AsRef<Path>>(mut self, path: T) -> Self { in certificate_chain_file()
|
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/ |
H A D | simple.rs | 379 pub fn body<T: AsRef<[u8]>>(mut self, body: T) -> Self { in body()
|
/commonlibrary/rust/ylong_json/src/ |
H A D | value.rs | 681 pub fn from_file<P: AsRef<Path>>(path: P) -> Result<Self, Error> { in fmt() 717 pub fn from_text<T: AsRef<[u8]>>(text: T) -> Result<Self, Error> { in fmt()
|