Skip to main content

Progress

Trait Progress 

Source
pub trait Progress: AsyncFriendly {
    // Required methods
    fn progress(&self, handled: usize);
    fn finish(&self);
}
Expand description

A simple progress reporter for long running operations.

Required Methods§

Source

fn progress(&self, handled: usize)

Indicate that handled points have been processed.

Source

fn finish(&self)

Indicate that the operation has finished.

Implementors§