Trait ProgressMonitorDivision

Source
pub trait ProgressMonitorDivision<'p, 'n, N, W, A1, A2>
where Self: ProgressMonitor<W> + Sized, N: Into<Cow<'n, str>>, W: Work, A1: Into<W>, A2: Into<W>,
{ // Required method fn new_child( &'p mut self, name: N, parent_work: A1, child_work: A2, ) -> ChildMonitor<'n, 'p, W, Self>; }

Required Methods§

Source

fn new_child( &'p mut self, name: N, parent_work: A1, child_work: A2, ) -> ChildMonitor<'n, 'p, W, Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'p2, 'n2, 'p, 'n, N, W, A1, A2, P> ProgressMonitorDivision<'p, 'n, N, W, A1, A2> for ChildMonitor<'n2, 'p2, W, P>
where Self: ProgressMonitor<W> + Sized, N: Into<Cow<'n, str>>, W: Work, A1: Into<W>, A2: Into<W>, P: ProgressMonitor<W>,

Source§

impl<'p, 'n, N, W, A1, A2, C> ProgressMonitorDivision<'p, 'n, N, W, A1, A2> for CallbackProgressMonitor<'n, W, C>
where N: Into<Cow<'n, str>>, W: Work, A1: Into<W>, A2: Into<W>, C: Fn(&W, &W),