Trait rust_apt::progress::OperationProgress
source · [−]pub trait OperationProgress {
fn update(&mut self, operation: String, percent: f32);
fn done(&mut self);
}Expand description
Trait you can impl on any struct to customize the output of operation progress on things like opening the cache.
Required Methods
Trait Implementations
sourceimpl ExternType for Box<dyn OperationProgress>
impl ExternType for Box<dyn OperationProgress>
Impl for sending OperationProgress 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, O, p, e, r, a, t, i, o, n, P, r, o, g, r, e, s, s)
type Id = (D, y, n, O, p, e, r, a, t, i, o, n, 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