pub struct EmulateNetworkConditionsByRule { /* private fields */ }Expand description
Activates emulation of network conditions for individual requests using URL match patterns. Unlike the deprecated Network.emulateNetworkConditions this method does not affect navigator state. Use Network.overrideNetworkState to explicitly modify navigator behavior.
EXPERIMENTAL: This feature is experimental and may change or be removed.
Implementations§
Trait Implementations§
Source§impl Clone for EmulateNetworkConditionsByRule
impl Clone for EmulateNetworkConditionsByRule
Source§fn clone(&self) -> EmulateNetworkConditionsByRule
fn clone(&self) -> EmulateNetworkConditionsByRule
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 EmulateNetworkConditionsByRule
impl Command for EmulateNetworkConditionsByRule
Auto Trait Implementations§
impl Freeze for EmulateNetworkConditionsByRule
impl RefUnwindSafe for EmulateNetworkConditionsByRule
impl Send for EmulateNetworkConditionsByRule
impl Sync for EmulateNetworkConditionsByRule
impl Unpin for EmulateNetworkConditionsByRule
impl UnwindSafe for EmulateNetworkConditionsByRule
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