pub trait WatchFileFormat {
type Entry: WatchEntry;
// Required methods
fn version(&self) -> u32;
fn entries(&self) -> Box<dyn Iterator<Item = Self::Entry> + '_>;
fn to_string(&self) -> String;
}Expand description
Common trait for all watch file format versions
Required Associated Types§
Sourcetype Entry: WatchEntry
type Entry: WatchEntry
The type used to represent individual watch entries