pub trait Notifier: Send + Sync {
// Required methods
fn notify_success(&self, report: &SyncReport);
fn notify_error(&self, error: &SyncError);
fn notify_warning(&self, warning: &str);
fn notify_progress(&self, progress: &ProgressUpdate);
}Expand description
通知器 trait