Progress

Trait Progress 

Source
pub trait Progress {
    type Instance: ProgressBar;

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

    // Provided method
    fn println(&self, message: &str) { ... }
}

Required Associated Types§

Required Methods§

Source

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

Provided Methods§

Source

fn println(&self, message: &str)

Implementations on Foreign Types§

Source§

impl Progress for ()

Source§

type Instance = ()

Source§

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

Source§

fn println(&self, message: &str)

Source§

impl Progress for MultiProgress

Source§

type Instance = ProgressBar

Source§

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

Source§

fn println(&self, message: &str)

Source§

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

Source§

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

Source§

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

Source§

fn println(&self, message: &str)

Implementors§