changed before/after hook signatures

This commit is contained in:
TotallyNot 2024-04-04 16:19:44 +02:00
parent 8aaf61efb1
commit 1daee85581
3 changed files with 33 additions and 17 deletions

View file

@ -43,7 +43,7 @@ where
}
}
pub trait ApiKey: Sync + Send + std::fmt::Debug + Clone {
pub trait ApiKey: Sync + Send + std::fmt::Debug + Clone + 'static {
type IdType: PartialEq + Eq + std::hash::Hash + Send + Sync + std::fmt::Debug + Clone;
fn value(&self) -> &str;