pub struct ProgressTracker { /* private fields */ }Expand description
Thread-safe progress tracker
Implementations§
Source§impl ProgressTracker
impl ProgressTracker
Sourcepub fn with_config(config: ProgressConfig) -> Self
pub fn with_config(config: ProgressConfig) -> Self
Create a new progress tracker with custom configuration
Sourcepub fn handle(&self) -> ProgressHandle
pub fn handle(&self) -> ProgressHandle
Get a cloneable handle for use in async tasks
Auto Trait Implementations§
impl Freeze for ProgressTracker
impl !RefUnwindSafe for ProgressTracker
impl Send for ProgressTracker
impl Sync for ProgressTracker
impl Unpin for ProgressTracker
impl UnsafeUnpin for ProgressTracker
impl !UnwindSafe for ProgressTracker
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