Trait conserve::ui::UI

source ·
pub trait UI: Debug {
    fn show_progress(&mut self, report: &Report);
    fn print(&mut self, s: &str);
    fn problem(&mut self, s: &str);
    fn finish(&mut self);
}
Expand description

Display information about backup progress to the user in some way.

Required Methods§

Show counters, eg as a progress bar.

Show a plain text message.

Print an error message.

Clear up the UI before exiting.

Implementations§

Construct a UI by name.

ui_name must be "auto", "plain", or "color".

Implementors§