summaryrefslogtreecommitdiff
path: root/src/monitor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor.rs')
-rw-r--r--src/monitor.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/monitor.rs b/src/monitor.rs
index bef3fbc..ffe688a 100644
--- a/src/monitor.rs
+++ b/src/monitor.rs
@@ -34,3 +34,5 @@ pub type Data = HashMap<DatumKind, Datum>;
pub trait Monitor {
fn process(&mut self, data: &Data);
}
+
+pub type MonBox = Box<Monitor>;