Searched refs:Downloader (Results 1 - 7 of 7) sorted by relevance
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/ |
H A D | mod.rs | 30 /// A `Downloader` provides a template method for downloading the body and 47 /// `Downloader::console` to build a `Downloader` which based on it. 57 /// # use ylong_http_client::async_impl::{Downloader, HttpBody, Response}; 60 /// // Creates a default `Downloader` that show progress on console. 61 /// let mut downloader = Downloader::console(response); 70 /// # use ylong_http_client::async_impl::{Downloader, DownloadOperator, HttpBody, Response}; 97 /// // Creates a default `Downloader` based on `MyDownloadOperator`. 99 /// let mut downloader = Downloader::builder() 108 pub struct Downloader< structure names 115 impl Downloader<()> { global() impls 148 impl<T: DownloadOperator + Unpin> Downloader<T> { global() impls [all...] |
H A D | builder.rs | 14 use super::{Console, DownloadConfig, DownloadOperator, Downloader}; 18 /// A builder that can create a `Downloader`. 20 /// You can use this builder to build a `Downloader` step by step. 25 /// # use ylong_http_client::async_impl::{DownloaderBuilder, Downloader, HttpBody, Response}; 60 /// # use ylong_http_client::async_impl::{DownloaderBuilder, Downloader, HttpBody, Response}; 94 /// # use ylong_http_client::async_impl::{DownloaderBuilder, Downloader, DownloadOperator, HttpBody, Response}; 132 /// Sets a `Console` to this `Downloader`. The download result and progress 138 /// # use ylong_http_client::async_impl::{DownloaderBuilder, Downloader, HttpBody, Response}; 170 /// # use ylong_http_client::async_impl::{DownloaderBuilder, Downloader, HttpBody, Response}; 192 /// # use ylong_http_client::async_impl::{DownloaderBuilder, Downloader, HttpBod [all...] |
/commonlibrary/rust/ylong_http/ylong_http_client/examples/ |
H A D | async_http_multi.rs | 18 use ylong_http_client::async_impl::{Body, Client, Downloader, Request}; 34 let _ = Downloader::console(response).download().await; in main()
|
H A D | async_http.rs | 18 use ylong_http_client::async_impl::{Body, Client, Downloader, Request}; 43 let _ = Downloader::console(response).download().await;
|
H A D | async_certs_adapter.rs | 19 use ylong_http_client::async_impl::{Body, Client, ClientBuilder, Downloader, Request}; 70 Downloader::console(response).download().await
|
H A D | async_https_outside.rs | 16 use ylong_http_client::async_impl::{Body, Client, Downloader, Request}; 63 let _ = Downloader::console(response).download().await;
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
H A D | mod.rs | 51 pub use downloader::{DownloadOperator, Downloader, DownloaderBuilder};
|
Completed in 2 milliseconds