pub fn success(self, message: &str) {
        if self.quiet {
            return;
        }

        if let Some(bar) = self.bar.as_ref() {
            bar.finish_with_message(message);
        } else {
            let style = Style::new().bold().green();
            self.plain_print(style, message);
        }
    }
/// Marks the task as successful and leave the spinner intact.
Marks the task as successful and leave the spinner intact.
Marks the task as successful and leave the spinner intact .
pub fn success(self, message: &str) {
        if self.quiet {
            return;
        }
        if let Some(bar) = self.bar.as_ref() {
            bar.finish_with_message(message);
        } else {
            let style = Style::new().bold().green();
            self.plain_print(style, message);
        }
    }
pub fn success ( self , message : & str ) { if self . quiet { return ; } if let Some ( bar ) = self . bar . as_ref ( ) { bar . finish_with_message ( message ) ; } else { let style = Style :: new ( ) . bold ( ) . green ( ) ; self . plain_print ( style , message ) ; } }
Marks the task as successful and leave the spinner intact.
Marks the task as successful and leave the spinner intact .
self
message
&str