Struct wasm_pack::progressbar::ProgressOutput [−][src]
pub struct ProgressOutput { /* fields omitted */ }
Synchronized progress bar and status message printing.
Methods
impl ProgressOutput
[src]
impl ProgressOutput
pub fn new() -> Self
[src]
pub fn new() -> Self
Construct a new ProgressOutput
.
pub fn step(&self, step: &Step, message: &str)
[src]
pub fn step(&self, step: &Step, message: &str)
Inform the user that the given step
is being executed, with details in
message
.
pub fn message(&self, message: &str)
[src]
pub fn message(&self, message: &str)
Print the given message.
pub fn info(&self, message: &str)
[src]
pub fn info(&self, message: &str)
Add an informational message.
pub fn warn(&self, message: &str)
[src]
pub fn warn(&self, message: &str)
Add a warning message.
pub fn error(&self, message: String)
[src]
pub fn error(&self, message: String)
Add an error message.
pub fn done(&self)
[src]
pub fn done(&self)
After having built up a series of messages, print all of them out.
Trait Implementations
impl Drop for ProgressOutput
[src]
impl Drop for ProgressOutput
Auto Trait Implementations
impl Send for ProgressOutput
impl Send for ProgressOutput
impl Sync for ProgressOutput
impl Sync for ProgressOutput