gix_features::progress

Trait DynNestedProgress

source
pub trait DynNestedProgress: Progress + Sealed {
    // Required methods
    fn add_child(&mut self, name: String) -> BoxedDynNestedProgress;
    fn add_child_with_id(
        &mut self,
        name: String,
        id: [u8; 4],
    ) -> BoxedDynNestedProgress;
}
Available on crate feature progress only.
Expand description

An object-safe trait for describing hierarchical progress.

This will be automatically implemented for any type that implements NestedProgress.

Required Methods§

Implementors§

source§

impl<T, SubP> DynNestedProgress for T
where T: NestedProgress<SubProgress = SubP> + ?Sized, SubP: NestedProgress + 'static,