arhivach-downloader

Download arhivach.vc threads
git clone https://git.ea.contact/arhivach-downloader
Log | Files | Refs | README

event.rs (742B)


      1 #[derive(Debug, Clone)]
      2 pub enum Event {
      3     // Thread retrieval
      4     GetStarted,
      5     GetDone,
      6     GetFailed { error: String },
      7 
      8     // Files download
      9     DownloadAllStarted,
     10     DownloadAllDone,
     11     DownloadAllFailed { error: String },
     12 
     13     // File download
     14     DownloadStarted { index: usize, max_index: usize },
     15     DownloadDone { index: usize, max_index: usize },
     16     DownloadSkipped { index: usize, max_index: usize },
     17     DownloadFailed { url: String, error: String },    
     18     
     19     // Files and thumbnails download
     20     DownloadFilesStarted,
     21     DownloadFilesDone,
     22     DownloadThumbStarted,
     23     DownloadThumbDone,
     24 
     25     // Thread export
     26     ExportStarted,
     27     ExportDone,
     28     ExportFailed { error: String },
     29 }