pub struct CloudflareHandler { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ChallengeHandler for CloudflareHandler
impl ChallengeHandler for CloudflareHandler
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 CloudflareHandler
impl !RefUnwindSafe for CloudflareHandler
impl Send for CloudflareHandler
impl Sync for CloudflareHandler
impl Unpin for CloudflareHandler
impl UnsafeUnpin for CloudflareHandler
impl !UnwindSafe for CloudflareHandler
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