Home
last modified time | relevance | path

Searched refs:Path (Results 1 – 16 of 16) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/tests/
Dsdv_async_http_on_tcp.rs41 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()
Dsdv_sync_http_on_tcp.rs39 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/
Dasync_dir.rs20 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 …]
Dopen_options.rs16 use std::path::Path;
295 pub async fn open<P: AsRef<Path>>(&self, path: P) -> io::Result<File> { in open()
Dasync_file.rs18 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/
Dsync_utils.rs21 Path: $path: expr,
50 Path: $path,
74 Path: $path,
106 Path: $path: expr,
132 Path: $path,
161 Path: $path: expr,
181 Path: $path,
Dasync_utils.rs21 Path: $path: expr,
50 Path: $path,
74 Path: $path,
106 Path: $path: expr,
132 Path: $path,
161 Path: $path: expr,
181 Path: $path,
Dmod.rs41 Path: $path: expr,
142 Path: $path: expr,
243 Path: $path: expr,
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/
Dtable.rs245 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()
Dencoder.rs127 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/
Dctx.rs16 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/
Duri.rs82 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/
Dmimetype.rs15 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/
Dadapter.rs15 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/
Dparts.rs52 Header::Path => self.pseudo.set_path(Some(value)), in update()
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/
Dencoder.rs158 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()