Skip to main content

BackupProgress

Trait BackupProgress 

Source
pub trait BackupProgress {
    // Required method
    fn step(&mut self, remaining: i32) -> bool;
}

Required Methods§

Source

fn step(&mut self, remaining: i32) -> bool

Called after every step with the pages remaining; return false to cancel.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§