pub type ScanEvent = Result<PathBuf>;
Event send for registered handler on initial directory scans
enum ScanEvent { Ok(PathBuf), Err(Error), }
Contains the success value
Contains the error value