pub trait DynInstallProgress {
// Required methods
fn status_changed(
&mut self,
pkgname: String,
steps_done: u64,
total_steps: u64,
action: String,
);
fn error(
&mut self,
pkgname: String,
steps_done: u64,
total_steps: u64,
error: String,
);
}Expand description
Customize the output of installation progress.
Required Methods§
fn status_changed( &mut self, pkgname: String, steps_done: u64, total_steps: u64, action: String, )
fn error( &mut self, pkgname: String, steps_done: u64, total_steps: u64, error: String, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".