From fc3518cf4e5035d1dc0b35113e007419500dd8f6 Mon Sep 17 00:00:00 2001 From: ktdlr Date: Tue, 22 Oct 2024 14:47:09 +1100 Subject: [PATCH] Update comments --- packages/ciphernode/router/src/e3_request_router.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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);