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§
Sourcefn add_child(&mut self, name: String) -> BoxedDynNestedProgress
fn add_child(&mut self, name: String) -> BoxedDynNestedProgress
Sourcefn add_child_with_id(
&mut self,
name: String,
id: [u8; 4],
) -> BoxedDynNestedProgress
fn add_child_with_id( &mut self, name: String, id: [u8; 4], ) -> BoxedDynNestedProgress
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".