Trait ProgressBar

Source
pub trait ProgressBar<T> {
    // Required methods
    fn new() -> T;
    fn to_stderr(self) -> T;
    fn write(&self, buf: String) -> Result<()>;
}
Expand description

all progressbars will implement it

Required Methods§

Source

fn new() -> T

Source

fn to_stderr(self) -> T

Source

fn write(&self, buf: String) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§