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§
fn new() -> T
fn to_stderr(&mut self) -> T
fn write(&self, buf: String) -> Result<()>
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.