Home
last modified time | relevance | path

Searched refs:total_bytes (Results 1 - 5 of 5) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/
H A Dbuilder.rs82 let total_bytes = reader.total_bytes(); in multipart()
86 config: UploadConfig { total_bytes }, in multipart()
190 /// .total_bytes(Some(10));
192 pub fn total_bytes(mut self, total_bytes: Option<u64>) -> Self { in total_bytes() functions
193 self.state.config.total_bytes = total_bytes; in total_bytes()
H A Dmod.rs147 this.config.total_bytes, in poll_read()
188 total_bytes: Option<u64>,
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/
H A Dmod.rs219 .progress(info.downloaded_bytes, info.total_bytes)
227 pub(crate) total_bytes: Option<u64>,
231 fn new(total_bytes: Option<u64>) -> Self { in new()
235 total_bytes, in new()
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/
H A Dsimple.rs98 /// let bytes = multipart.total_bytes();
100 pub fn total_bytes(&self) -> Option<u64> { in total_bytes() functions
676 /// UT test cases for `MultiPart::part` and `MultiPart::total_bytes`.
686 assert_eq!(mp.total_bytes(), Some(2 + mp.boundary().len() as u64 + 4)); in ut_multipart_set()
696 mp.total_bytes(), in ut_multipart_set()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
H A Drequest.rs221 if let Some(size) = multipart.multipart().total_bytes() { in body()

Completed in 4 milliseconds