Skip to main content

outpost_core/
reporter.rs

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    SourceFetch,
10    SourcePush,
11    OutpostFetch,
12    OutpostPush,
13    ConfigChange,
14    Cleanup,
15}