Trait Progress

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

Main trait

Required Methods§

Source

fn new() -> T

Source

fn to_stderr(&mut self) -> T

Source

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

Source

fn clear(&self) -> 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§