diff --git a/packages/ciphernode/router/src/e3_request_router.rs b/packages/ciphernode/router/src/e3_request_router.rs index 8f72d9bb..943a3691 100644 --- a/packages/ciphernode/router/src/e3_request_router.rs +++ b/packages/ciphernode/router/src/e3_request_router.rs @@ -38,11 +38,8 @@ impl EventBuffer { .unwrap_or_default() } } -/// Format of the hook that needs to be passed to E3RequestRouter -// pub type EventHook = Box; -// pub type Hydrator = Box; -// pub type E3Feature = (EventHook, Hydrator); +/// Format of the hook that needs to be passed to E3RequestRouter #[async_trait] pub trait E3Feature: Send + Sync + 'static { fn on_event(&self, ctx: &mut E3RequestContext, evt: &EnclaveEvent);