Trait Progress

Source
pub trait Progress {
    type Instance: ProgressBar;

    // Required method
    fn start(&self, work: usize) -> Self::Instance;
}

Required Associated Types§

Required Methods§

Source

fn start(&self, work: usize) -> Self::Instance

Implementations on Foreign Types§

Source§

impl Progress for ()

Source§

type Instance = ()

Source§

fn start(&self, _work: usize) -> Self::Instance

Source§

impl Progress for MultiProgress

Source§

type Instance = ProgressBar

Source§

fn start(&self, work: usize) -> Self::Instance

Source§

impl<P: Progress> Progress for Option<P>

Source§

type Instance = Option<<P as Progress>::Instance>

Source§

fn start(&self, work: usize) -> Self::Instance

Implementors§