pub struct ProgressBarReporter { /* private fields */ }
Expand description
Wrapper around indicatif::ProgressBar that implements ReportCopyProgress.
Trait Implementations§
Source§impl From<ProgressBar> for ProgressBarReporter
impl From<ProgressBar> for ProgressBarReporter
Source§fn from(bar: ProgressBar) -> Self
fn from(bar: ProgressBar) -> Self
Converts to this type from the input type.
Source§impl ReportCopyProgress for ProgressBarReporter
impl ReportCopyProgress for ProgressBarReporter
fn report_progress(&mut self, bytes_so_far: u64, total_bytes: u64)
Auto Trait Implementations§
impl Freeze for ProgressBarReporter
impl RefUnwindSafe for ProgressBarReporter
impl Send for ProgressBarReporter
impl Sync for ProgressBarReporter
impl Unpin for ProgressBarReporter
impl UnwindSafe for ProgressBarReporter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more