pub struct HandlerConfig {
pub ignore_https_errors: bool,
pub ignore_invalid_messages: bool,
pub viewport: Option<Viewport>,
pub context_ids: Vec<BrowserContextId>,
pub request_timeout: Duration,
pub request_intercept: bool,
pub cache_enabled: bool,
}Expand description
How to configure the handler
Fields§
§ignore_https_errors: boolWhether the NetworkManagers should ignore https errors
ignore_invalid_messages: boolWhether to ignore invalid messages
viewport: Option<Viewport>Window and device settings
context_ids: Vec<BrowserContextId>Context ids to set from the get go
request_timeout: Durationdefault request timeout to use
request_intercept: boolWhether to enable request interception
cache_enabled: boolWhether to enable cache
Trait Implementations§
Source§impl Clone for HandlerConfig
impl Clone for HandlerConfig
Source§fn clone(&self) -> HandlerConfig
fn clone(&self) -> HandlerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandlerConfig
impl Debug for HandlerConfig
Auto Trait Implementations§
impl Freeze for HandlerConfig
impl RefUnwindSafe for HandlerConfig
impl Send for HandlerConfig
impl Sync for HandlerConfig
impl Unpin for HandlerConfig
impl UnwindSafe for HandlerConfig
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