1pub trait Reporter {
2 fn step(&mut self, kind: StepKind, message: &str);
3
4 fn warn(&mut self, message: &str);
5}
6
7#[derive(Debug, Clone, Copy, PartialEq, Eq)]
8pub enum StepKind {
9 Analysis,
10 SourceFetch,
11 SourcePush,
12 OutpostFetch,
13 OutpostPush,
14 ConfigChange,
15 Cleanup,
16}