Skip to main content

DynNestedProgress

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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

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