fn initialize_progress_bar(&mut self, len: u64) {
        self.progress_bar.set_length(len);
        self.progress_bar.set_style(
            ProgressStyle::default_bar()
                .template(
                    "{msg} [{elapsed_precise}] [{wide_bar:.cyan/blue}] {bytes}/{total_bytes} {bytes_per_sec} {eta}",
                )
                .progress_chars("=>-"),
        );
        self.progress_bar
            .set_draw_target(ProgressDrawTarget::stderr());
        self.progress_bar.reset();
        self.progress_bar.enable_steady_tick(100);
    }
/// Initializes the progress bar for downloading process.
Initializes the progress bar for downloading process.
Initializes the progress bar for downloading process .
fn initialize_progress_bar(&mut self, len: u64) {
        self.progress_bar.set_length(len);
        self.progress_bar.set_style(
            ProgressStyle::default_bar()
                .template(
                    "{msg} [{elapsed_precise}] [{wide_bar:.cyan/blue}] {bytes}/{total_bytes} {bytes_per_sec} {eta}",
                )
                .progress_chars("=>-"),
        );
        self.progress_bar
            .set_draw_target(ProgressDrawTarget::stderr());
        self.progress_bar.reset();
        self.progress_bar.enable_steady_tick(100);
    }
fn initialize_progress_bar ( & mut self , len : u64 ) { self . progress_bar . set_length ( len ) ; self . progress_bar . set_style ( ProgressStyle :: default_bar ( ) . template ( " " , ) . progress_chars ( " " ) , ) ; self . progress_bar . set_draw_target ( ProgressDrawTarget :: stderr ( ) ) ; self . progress_bar . reset ( ) ; self . progress_bar . enable_steady_tick ( 100 ) ; }
Initializes the progress bar for downloading process.
Initializes the progress bar for downloading process .
&mut self
len
u64
&mut self
len
u64