pub struct EnableCommand { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security only.Expand description
Enables network tracking, network events will now be delivered to the client.
Implementations§
Source§impl EnableCommand
impl EnableCommand
pub fn new( max_total_buffer_size: Option<u32>, max_resource_buffer_size: Option<u32>, max_post_data_size: Option<u32>, ) -> Self
Sourcepub fn max_total_buffer_size(&self) -> Option<&u32>
Available on crate feature experimental only.
pub fn max_total_buffer_size(&self) -> Option<&u32>
experimental only.Buffer size in bytes to use when preserving network payloads (XHRs, etc).
Sourcepub fn max_resource_buffer_size(&self) -> Option<&u32>
Available on crate feature experimental only.
pub fn max_resource_buffer_size(&self) -> Option<&u32>
experimental only.Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
Sourcepub fn max_post_data_size(&self) -> Option<&u32>
pub fn max_post_data_size(&self) -> Option<&u32>
Longest post body size (in bytes) that would be included in requestWillBeSent notification
Trait Implementations§
Source§impl Clone for EnableCommand
impl Clone for EnableCommand
Source§fn clone(&self) -> EnableCommand
fn clone(&self) -> EnableCommand
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 Command for EnableCommand
impl Command for EnableCommand
Source§impl Debug for EnableCommand
impl Debug for EnableCommand
Source§impl<'de> Deserialize<'de> for EnableCommand
impl<'de> Deserialize<'de> for EnableCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EnableCommand
impl RefUnwindSafe for EnableCommand
impl Send for EnableCommand
impl Sync for EnableCommand
impl Unpin for EnableCommand
impl UnwindSafe for EnableCommand
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