From d2cf97bd74ce752c9cd147c23a73c9f09bed57b4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 4 Aug 2021 00:56:26 +0100 Subject: [PATCH] report, plan Signed-off-by: Ian Jackson --- src/reporter.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/reporter.rs b/src/reporter.rs index d9ad465..015b402 100644 --- a/src/reporter.rs +++ b/src/reporter.rs @@ -8,6 +8,11 @@ pub struct Reporter<'r> { ic: &'r InstanceConfig, } +// Reporting strategy +// - report all errors +// - report first success after a period of lack of messages +// - if error, report last success + impl<'r> Reporter<'r> { pub fn new(ic: &'r InstanceConfig) -> Self { Reporter { ic -- 2.30.2