Trait rust_apt::progress::InstallProgress
source · [−]pub trait InstallProgress {
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
Trait you can impl on any struct to customize the output of installation progress.
Required Methods
Trait Implementations
sourceimpl ExternType for Box<dyn InstallProgress>
impl ExternType for Box<dyn InstallProgress>
Impl for sending InstallProgress across the barrier. TODO: Needs to be reviewed in GitLab MR, because I’ve got just about zero clue what I’m doing.
type Id = (D, y, n, I, n, s, t, a, l, l, P, r, o, g, r, e, s, s)
type Id = (D, y, n, I, n, s, t, a, l, l, P, r, o, g, r, e, s, s)
A type-level representation of the type’s C++ namespace and type name. Read more
type Kind = Trivial
type Kind = Trivial
Either cxx::kind::Opaque or cxx::kind::Trivial. Read more