pub enum ProgressEvent {
Show 17 variants
Started {
directory: PathBuf,
show_name: String,
},
FetchingMetadata {
show_name: String,
},
MetadataFetched {
series_name: String,
season_count: usize,
},
ScanningVideos,
VideosFound {
count: usize,
},
ProcessingVideo {
index: usize,
total: usize,
video_path: PathBuf,
},
Hashing {
video_path: PathBuf,
},
HashingFinished {
video_path: PathBuf,
},
AudioExtraction {
video_path: PathBuf,
temp_path: PathBuf,
},
AudioExtractionFinished {
video_path: PathBuf,
temp_path: PathBuf,
},
Transcription {
video_path: PathBuf,
temp_path: PathBuf,
},
TranscriptionFinished {
video_path: PathBuf,
language: String,
text: String,
},
TranscriptCacheHit {
video_path: PathBuf,
language: String,
},
Matching {
index: usize,
total: usize,
video_path: PathBuf,
},
MatchingFinished {
video_path: PathBuf,
episode: Episode,
},
MatchingCacheHit {
video_path: PathBuf,
episode: Episode,
},
Complete {
match_count: usize,
},
}Expand description
Progress event emitted during investigation
These events allow library users to track progress and provide feedback during the investigation process.
Variants§
Started
Investigation started
FetchingMetadata
Fetching episode metadata
MetadataFetched
Metadata successfully fetched
ScanningVideos
Scanning directory for video files
VideosFound
Video files found
ProcessingVideo
Processing a specific video file
Hashing
Computing hash of video file
HashingFinished
Hash computation finished
AudioExtraction
Extracting audio from video
AudioExtractionFinished
Audio extraction finished
Transcription
Transcribing audio to text
TranscriptionFinished
Transcription finished
TranscriptCacheHit
Transcript loaded from cache
Matching
Matching video to an episode
MatchingFinished
Episode matching finished
MatchingCacheHit
Matching result loaded from cache
Complete
Investigation complete
Trait Implementations§
Source§impl Clone for ProgressEvent
impl Clone for ProgressEvent
Source§fn clone(&self) -> ProgressEvent
fn clone(&self) -> ProgressEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProgressEvent
impl RefUnwindSafe for ProgressEvent
impl Send for ProgressEvent
impl Sync for ProgressEvent
impl Unpin for ProgressEvent
impl UnwindSafe for ProgressEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more