Home
last modified time | relevance | path

Searched refs:DownloaderBuilder (Results 1 - 3 of 3) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/
H A Dbuilder.rs25 /// # use ylong_http_client::async_impl::{DownloaderBuilder, Downloader, HttpBody, Response};
28 /// let downloader = DownloaderBuilder::new().body(body).console().build();
31 pub struct DownloaderBuilder<S> { structure names
35 /// A state indicates that `DownloaderBuilder` wants a body that needs to be
39 impl DownloaderBuilder<WantsBody> { impls
40 /// Creates a `DownloaderBuilder` in the `WantsBody` state.
45 /// # use ylong_http_client::async_impl::DownloaderBuilder;
47 /// let builder = DownloaderBuilder::new();
55 /// Then the `DownloaderBuilder` will switch to `WantsOperator` state.
60 /// # use ylong_http_client::async_impl::{DownloaderBuilder, Downloade
84 impl DownloaderBuilder<WantsOperator> { global() impls
162 impl<T: DownloadOperator> DownloaderBuilder<WantsConfig<T>> { global() impls
[all...]
H A Dmod.rs19 pub use builder::DownloaderBuilder;
98 /// // Configures your downloader by using `DownloaderBuilder`.
134 /// Creates a `DownloaderBuilder` and configures downloader step by step.
143 pub fn builder() -> DownloaderBuilder<WantsBody> { in builder()
144 DownloaderBuilder::new() in builder()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
H A Dmod.rs51 pub use downloader::{DownloadOperator, Downloader, DownloaderBuilder};

Completed in 1 milliseconds