1 2 3 4 5 6 7 8 9 10 11 12 13 14
//! Debug trait implementation for FileWatcher. use std::fmt; use crate::services::file_watcher::FileWatcher; impl fmt::Debug for FileWatcher { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("FileWatcher") .field("config", &self.config) .field("changed_paths", &self.changed_paths) .finish_non_exhaustive() } }