pub struct TurnstileHandler;Implementations§
Trait Implementations§
Source§impl ChallengeHandler for TurnstileHandler
impl ChallengeHandler for TurnstileHandler
fn name(&self) -> &'static str
fn detects<'life0, 'life1, 'async_trait>(
&'life0 self,
page: &'life1 PageHtml,
) -> Pin<Box<dyn Future<Output = Result<bool, AppError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn solve<'life0, 'life1, 'async_trait>(
&'life0 self,
_page: &'life1 PageHtml,
) -> Pin<Box<dyn Future<Output = Result<HandlerOutcome, AppError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for TurnstileHandler
impl RefUnwindSafe for TurnstileHandler
impl Send for TurnstileHandler
impl Sync for TurnstileHandler
impl Unpin for TurnstileHandler
impl UnsafeUnpin for TurnstileHandler
impl UnwindSafe for TurnstileHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more