Searched refs:Text (Results 1 - 5 of 5) sorted by relevance
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
H A D | http_body.rs | 88 BodyLength::Length(len) => Kind::Text(Text::new(len, pre, io, interceptors)), 122 Kind::Text(ref mut text) => text.data(cx, buf), in poll_data() 166 Kind::Text(ref mut text) => text.io.as_mut(), in drop() 182 Text(Text), 269 struct Text { structure names 276 impl Text { impls 292 impl Text { impls
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/ |
H A D | http_body.rs | 61 kind: Kind::Text(Text::new(len, pre, io)), 75 Text(Text), 79 struct Text { structure names 85 impl Text { impls 105 Kind::Text(ref mut text) => text.data(buf), in data() 120 impl Text { impls
|
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/ |
H A D | mimetype.rs | 263 matches!(self.tag, MimeTypeTag::Text) in is_text() 510 "css", "text/css", 4, MimeTypeTag::Text; 511 "323", "text/h323", 4, MimeTypeTag::Text; 512 "htm", "text/html", 4, MimeTypeTag::Text; 513 "html", "text/html", 4, MimeTypeTag::Text; 514 "stm", "text/html", 4, MimeTypeTag::Text; 515 "uls", "text/iuls", 4, MimeTypeTag::Text; 516 "bas", "text/plain", 4, MimeTypeTag::Text; 517 "c", "text/plain", 4, MimeTypeTag::Text; 518 "h", "text/plain", 4, MimeTypeTag::Text; [all...] |
/commonlibrary/rust/ylong_http/ylong_http/src/body/ |
H A D | mod.rs | 56 pub use text::{Text, TextBody, TextBodyDecoder};
|
H A D | text.rs | 252 /// // complete the decoding, the status of the returned `Text` is `Partial` 264 /// // Since the body data is fully decoded, the status of the returned `Text` 301 /// After each call to this method, a `Text` and a `&[u8]` are returned. 302 /// `Text` contains a piece of legal body data inside. The returned `&[u8]` 320 /// // complete the decoding, the status of the returned `Text` is `Partial` 332 /// // Since the body data is fully decoded, the status of the returned `Text` 346 pub fn decode<'a>(&mut self, buf: &'a [u8]) -> (Text<'a>, &'a [u8]) { in decode() 348 return (Text::complete(&buf[..0]), buf); in decode() 355 (Text::complete(&buf[..end]), &buf[end..]) in decode() 357 (Text in decode() 366 pub struct Text<'a> { global() structure names 371 impl<'a> Text<'a> { global() impls [all...] |
Completed in 4 milliseconds