Home
last modified time | relevance | path

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

/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
H A Dreader.rs45 /// fn progress(&mut self, filled: usize) -> Result<(), BodyProcessError> {
101 /// [`BodyProcessor::write`] and [`BodyProcessor::progress`] will be
105 /// [`BodyProcessor::progress`]: BodyProcessor::progress
130 .progress(written) in read_all()
144 .progress(written) in read_all()
168 /// at this time. Users can display the progress according to the number of
170 fn progress(&mut self, filled: usize) -> Result<(), BodyProcessError>; in progress() functions
209 fn progress(&mut self, filled: usize) -> Result<(), BodyProcessError> { in progress() functions
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/
H A Doperator.rs36 /// You can display the progress according to the number of bytes written.
63 /// You can display the progress according to the number of bytes written.
64 fn progress<'a>(&'a mut self, downloaded: u64, total: Option<u64>) -> ProgressFuture<'a, Self> in progress() functions
155 println!("progress: download-{downloaded} bytes"); in poll_progress()
H A Dmod.rs35 /// and [`progress`], where:
40 /// - `progress` methods are responsible for progress display.
51 /// [`progress`]: DownloadOperator::progress
60 /// // Creates a default `Downloader` that show progress on console.
117 /// show progress on console.
125 /// // Creates a default `Downloader` that show progress on console.
151 /// The download and progress methods of the `DownloadOperator` will be
219 .progress(inf
[all...]

Completed in 2 milliseconds