pub struct NativePxHandler { /* private fields */ }Implementations§
Source§impl NativePxHandler
impl NativePxHandler
pub fn new(solver: Arc<dyn NativeSolver>, app_id: PxAppId) -> Self
Trait Implementations§
Source§impl ChallengeHandler for NativePxHandler
impl ChallengeHandler for NativePxHandler
fn name(&self) -> HandlerName
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 NativePxHandler
impl !RefUnwindSafe for NativePxHandler
impl Send for NativePxHandler
impl Sync for NativePxHandler
impl Unpin for NativePxHandler
impl UnsafeUnpin for NativePxHandler
impl !UnwindSafe for NativePxHandler
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