Home
last modified time | relevance | path

Searched refs:Downloader (Results 1 - 7 of 7) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/
H A Dmod.rs30 /// 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 Dbuilder.rs14 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 Dasync_http_multi.rs18 use ylong_http_client::async_impl::{Body, Client, Downloader, Request};
34 let _ = Downloader::console(response).download().await; in main()
H A Dasync_http.rs18 use ylong_http_client::async_impl::{Body, Client, Downloader, Request};
43 let _ = Downloader::console(response).download().await;
H A Dasync_certs_adapter.rs19 use ylong_http_client::async_impl::{Body, Client, ClientBuilder, Downloader, Request};
70 Downloader::console(response).download().await
H A Dasync_https_outside.rs16 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 Dmod.rs51 pub use downloader::{DownloadOperator, Downloader, DownloaderBuilder};

Completed in 2 milliseconds