aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index c626afe..6a9c2c0 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -35,7 +35,9 @@ pub trait Config: std::fmt::Debug {
&mut self,
matches: &clap::ArgMatches<'a>,
) -> Result<()>;
- fn run(&self) -> Result<()>;
+ fn run(
+ &self,
+ ) -> Box<dyn futures::future::Future<Item = (), Error = Error> + Send>;
}
pub fn config(