pub struct ProgressConfig { /* private fields */ }Expand description
Controls how frequently progress callbacks are fired.
Events are emitted only when at least min_bytes have been transferred
since the last event or min_interval has elapsed, whichever comes
first. This prevents flooding the caller with high-frequency callbacks on
fast connections.
Implementations§
Trait Implementations§
Source§impl Clone for ProgressConfig
impl Clone for ProgressConfig
Source§fn clone(&self) -> ProgressConfig
fn clone(&self) -> ProgressConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgressConfig
impl Debug for ProgressConfig
Source§impl Default for ProgressConfig
impl Default for ProgressConfig
Source§impl PartialEq for ProgressConfig
impl PartialEq for ProgressConfig
impl Copy for ProgressConfig
impl Eq for ProgressConfig
impl StructuralPartialEq for ProgressConfig
Auto Trait Implementations§
impl Freeze for ProgressConfig
impl RefUnwindSafe for ProgressConfig
impl Send for ProgressConfig
impl Sync for ProgressConfig
impl Unpin for ProgressConfig
impl UnsafeUnpin for ProgressConfig
impl UnwindSafe for ProgressConfig
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