pub struct Progress;Expand description
A no-op progress indicator when the ui feature is disabled.
Implementations§
Source§impl Progress
impl Progress
Sourcepub fn set_message(&self, _msg: impl Into<String>)
pub fn set_message(&self, _msg: impl Into<String>)
Set the progress message (no-op without ui feature).
Sourcepub fn finish_and_clear(&self)
pub fn finish_and_clear(&self)
Finish and clear the spinner (no-op without ui feature).
Auto Trait Implementations§
impl Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnsafeUnpin for Progress
impl UnwindSafe for Progress
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