/commonlibrary/rust/ylong_http/ylong_http_client/tests/ |
D | sdv_async_http_on_tcp.rs | 41 Path: "/data", in sdv_async_client_send_request() 58 Path: "/data", in sdv_async_client_send_request() 74 Path: "/data", in sdv_async_client_send_request() 91 Path: "/data", in sdv_async_client_send_request() 106 Path: "/data", in sdv_async_client_send_request() 123 Path: "/data", in sdv_async_client_send_request() 150 Path: "/data", in sdv_client_send_request_repeatedly() 162 Path: "/data", in sdv_client_send_request_repeatedly() 190 Path: "/data", in sdv_client_making_multiple_connections()
|
D | sdv_sync_http_on_tcp.rs | 39 Path: "/data", in sdv_synchronized_client_send_request_to_tcp() 67 Path: "/data", in sdv_synchronized_client_send_request_repeatedly_to_tcp() 79 Path: "/data", in sdv_synchronized_client_send_request_repeatedly_to_tcp() 107 Path: "/data", in sdv_client_making_multiple_connections()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/ |
D | async_dir.rs | 20 use std::path::{Path, PathBuf}; 59 pub async fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> { in create_dir() 88 pub async fn create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> { in create_dir_all() 118 pub async fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> { in remove_dir() 144 pub async fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> { in remove_dir_all() 171 pub async fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> { in read_dir() 206 pub async fn remove_file<P: AsRef<Path>>(path: P) -> io::Result<()> { in remove_file() 237 pub async fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()> { in rename() argument 273 pub async fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<u64> { in copy() argument 298 pub async fn read_to_string<P: AsRef<Path>>(path: P) -> io::Result<String> { in read_to_string() [all …]
|
D | open_options.rs | 16 use std::path::Path; 295 pub async fn open<P: AsRef<Path>>(&self, path: P) -> io::Result<File> { in open()
|
D | async_file.rs | 18 use std::path::Path; 126 pub async fn open<P: AsRef<Path>>(path: P) -> io::Result<File> { in open() 148 pub async fn create<P: AsRef<Path>>(path: P) -> io::Result<File> { in create()
|
/commonlibrary/rust/ylong_http/ylong_http_client/tests/tcp_server/ |
D | sync_utils.rs | 21 Path: $path: expr, 50 Path: $path, 74 Path: $path, 106 Path: $path: expr, 132 Path: $path, 161 Path: $path: expr, 181 Path: $path,
|
D | async_utils.rs | 21 Path: $path: expr, 50 Path: $path, 74 Path: $path, 106 Path: $path: expr, 132 Path: $path, 161 Path: $path: expr, 181 Path: $path,
|
D | mod.rs | 41 Path: $path: expr, 142 Path: $path: expr, 243 Path: $path: expr,
|
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/ |
D | table.rs | 245 4..=5 => Some(Header::Path), in header_name() 304 4 => Some((Header::Path, String::from("/"))), in header() 305 5 => Some((Header::Path, String::from("/index.html"))), in header() 331 (Header::Path, "/") => Some(TableIndex::Header(4)), in index() 332 (Header::Path, "/index.html") => Some(TableIndex::Header(5)), in index() 333 (Header::Path, _) => Some(TableIndex::HeaderName(4)), in index() 405 Path, enumerator 419 Header::Path => 5, in len() 432 Header::Path => String::from(":path"), in into_string()
|
D | encoder.rs | 127 Header::Path, in ut_hpack_encoder() 143 Header::Path, in ut_hpack_encoder() 161 Header::Path, in ut_hpack_encoder()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/ |
D | ctx.rs | 16 use std::path::Path; 150 P: AsRef<Path>, in set_ca_file() argument 202 P: AsRef<Path>, in set_certificate_file() argument 227 P: AsRef<Path>, in set_certificate_chain_file() argument
|
/commonlibrary/rust/ylong_http/ylong_http/src/request/ |
D | uri.rs | 82 path: Option<Path>, 94 path: Path::from_bytes(b"/").ok(), in http() 192 pub fn path(&self) -> Option<&Path> { in path() argument 288 Option<Path>, in into_parts() argument 431 Path: TryFrom<T>, in path() 432 InvalidUri: From<<Path as TryFrom<T>>::Error>, in path() 777 pub struct Path(String); struct 779 impl Path { impl 790 pub fn from_bytes(bytes: &[u8]) -> Result<Path, InvalidUri> { in from_bytes() argument 814 impl<'a> TryFrom<&'a [u8]> for Path { implementation [all …]
|
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/ |
D | mimetype.rs | 15 use std::path::Path; 98 pub fn from_path(path: &'a Path) -> Result<Self, HttpError> { in from_path() 780 use std::path::Path; in ut_mime_type_from_path() 785 MimeType::from_path(Path::new("./foo/bar.evy")), in ut_mime_type_from_path() 789 MimeType::from_path(Path::new("foo.*")), in ut_mime_type_from_path() 793 MimeType::from_path(Path::new("")), in ut_mime_type_from_path() 797 MimeType::from_path(Path::new(".txt")), in ut_mime_type_from_path() 801 MimeType::from_path(Path::new("./foo/bar")), in ut_mime_type_from_path()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ |
D | adapter.rs | 15 use std::path::Path; 74 pub fn ca_file<T: AsRef<Path>>(mut self, path: T) -> Self { in ca_file() 187 pub fn certificate_file<T: AsRef<Path>>(mut self, path: T, file_type: TlsFileType) -> Self { in certificate_file() 209 pub fn certificate_chain_file<T: AsRef<Path>>(mut self, path: T) -> Self { in certificate_chain_file()
|
/commonlibrary/rust/ylong_http/ylong_http/src/h2/ |
D | parts.rs | 52 Header::Path => self.pseudo.set_path(Some(value)), in update()
|
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/ |
D | encoder.rs | 158 Path, enumerator 189 None => self.next_type = PartsIterDirection::Path, in next() 191 PartsIterDirection::Path => match self.pseudo.take_path() { in next() 192 Some(value) => return Some((Header::Path, value)), in next()
|