Trait long_running_task::Progressible

source ·
pub trait Progressible {
    // Required method
    fn progress(&mut self);
}
Expand description

Structs implementing this trait hold the current progress of a task.

Required Methods§

source

fn progress(&mut self)

Report progress on a task, for example by increasing a progress field by 1.

Implementors§