pub trait PreHook:
Send
+ Sync
+ 'static {
// Required methods
fn name(&self) -> &'static str;
fn call<'a>(
&'a self,
ctx: &'a HookContext,
) -> HookFuture<'a, Result<HookAction, HookIssue>>;
}pub trait PreHook:
Send
+ Sync
+ 'static {
// Required methods
fn name(&self) -> &'static str;
fn call<'a>(
&'a self,
ctx: &'a HookContext,
) -> HookFuture<'a, Result<HookAction, HookIssue>>;
}