pub struct EnableBuilder { /* private fields */ }Expand description
Builder for Enable.
Implementations§
Source§impl EnableBuilder
impl EnableBuilder
Sourcepub fn max_total_buffer_size<VALUE: Into<JsUInt>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn max_total_buffer_size<VALUE: Into<JsUInt>>( &mut self, value: VALUE, ) -> &mut Self
Buffer size in bytes to use when preserving network payloads (XHRs, etc).
Sourcepub fn max_resource_buffer_size<VALUE: Into<JsUInt>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn max_resource_buffer_size<VALUE: Into<JsUInt>>( &mut self, value: VALUE, ) -> &mut Self
Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
Sourcepub fn max_post_data_size<VALUE: Into<JsUInt>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn max_post_data_size<VALUE: Into<JsUInt>>( &mut self, value: VALUE, ) -> &mut Self
Longest post body size (in bytes) that would be included in requestWillBeSent notification
Sourcepub fn report_direct_socket_traffic<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn report_direct_socket_traffic<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Whether DirectSocket chunk send/receive events should be reported.
Sourcepub fn enable_durable_messages<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn enable_durable_messages<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Enable storing response bodies outside of renderer, so that these survive a cross-process navigation. Requires maxTotalBufferSize to be set. Currently defaults to false. This field is being deprecated in favor of the dedicated configureDurableMessages command, due to the possibility of deadlocks when awaiting Network.enable before issuing Runtime.runIfWaitingForDebugger.
Trait Implementations§
Source§impl Clone for EnableBuilder
impl Clone for EnableBuilder
Source§fn clone(&self) -> EnableBuilder
fn clone(&self) -> EnableBuilder
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 moreAuto Trait Implementations§
impl Freeze for EnableBuilder
impl RefUnwindSafe for EnableBuilder
impl Send for EnableBuilder
impl Sync for EnableBuilder
impl Unpin for EnableBuilder
impl UnsafeUnpin for EnableBuilder
impl UnwindSafe for EnableBuilder
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