chore: Add 'static lifetime to CaptchaFinder trait

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-08-12 12:04:31 +00:00
parent 110a8728e1
commit 25f90ecfaf
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

@ -20,7 +20,7 @@ pub use header_finder::*;
pub use query_finder::*;
/// Trait to find the captcha token and answer from the request.
pub trait CaptchaFinder: Send + Sync {
pub trait CaptchaFinder: Send + Sync + 'static {
/// Find the captcha token from the request.
///
/// ### Returns