pub enum ContextEvent {
WebError(WebError),
}Expand description
Events emitted by browser contexts. Mirrors the subset of
Playwright’s BrowserContextEventMap that ferridriver currently
supports. Today only 'weberror' — extensible to 'page',
'request', 'response', etc. under §6.14 without touching the
emitter implementation below.
Variants§
WebError(WebError)
Unhandled error / rejection in any page in this context. Mirrors
Playwright’s browserContext.on('weberror', (webError: WebError) => ...)
from server/browserContext.ts:54.
Trait Implementations§
Source§impl Clone for ContextEvent
impl Clone for ContextEvent
Source§fn clone(&self) -> ContextEvent
fn clone(&self) -> ContextEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ContextEvent
impl !RefUnwindSafe for ContextEvent
impl Send for ContextEvent
impl Sync for ContextEvent
impl Unpin for ContextEvent
impl UnsafeUnpin for ContextEvent
impl !UnwindSafe for ContextEvent
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