diff --git a/libimagstore/src/hook/mod.rs b/libimagstore/src/hook/mod.rs index 6a9bb357..57279ccb 100644 --- a/libimagstore/src/hook/mod.rs +++ b/libimagstore/src/hook/mod.rs @@ -14,6 +14,7 @@ pub mod result; use hook::accessor::HookDataAccessorProvider; pub trait Hook : HookDataAccessorProvider + Debug + Send + Sync { - fn set_config(&mut self, cfg: Value); + fn name(&self) -> &'static str; + fn set_config(&mut self, cfg: &Value); }