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