pub struct Spinner { /* private fields */ }Expand description
Spinner for animated progress indication
Implementations§
Source§impl Spinner
impl Spinner
Sourcepub fn finish_success(&mut self, final_message: &str)
pub fn finish_success(&mut self, final_message: &str)
Stop the spinner and show success message
Sourcepub fn finish_error(&mut self, final_message: &str)
pub fn finish_error(&mut self, final_message: &str)
Stop the spinner and show error message
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Spinner
impl RefUnwindSafe for Spinner
impl Send for Spinner
impl Sync for Spinner
impl Unpin for Spinner
impl UnsafeUnpin for Spinner
impl UnwindSafe for Spinner
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