Struct cdp::debugger::SetBlackboxPatternsCommand
[−]
[src]
pub struct SetBlackboxPatternsCommand<'a> { pub patterns: Vec<Cow<'a, str>>, }
[Experimental] Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
Command Debugger.setBlackboxPatterns
Domain Module: cdp::debugger
Command Struct: cdp::debugger::SetBlackboxPatternsCommand
Response Struct: cdp::debugger::SetBlackboxPatternsResponse
Fields
patterns: Vec<Cow<'a, str>>
Array of regexps that will be used to check script url for blackbox state.
Trait Implementations
impl<'a> Clone for SetBlackboxPatternsCommand<'a>
[src]
fn clone(&self) -> SetBlackboxPatternsCommand<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for SetBlackboxPatternsCommand<'a>
[src]
impl<'a> PartialEq for SetBlackboxPatternsCommand<'a>
[src]
fn eq(&self, __arg_0: &SetBlackboxPatternsCommand<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SetBlackboxPatternsCommand<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for SetBlackboxPatternsCommand<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Debugger.setBlackboxPatterns"
impl<'a> SerializeCdpCommand for SetBlackboxPatternsCommand<'a>
[src]
fn command_name(&self) -> &str
[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de, 'a> DeserializeCdpCommand<'de> for SetBlackboxPatternsCommand<'a>
[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,