pub struct SetBlackboxExecutionContextsParams {
pub unique_ids: Vec<String>,
}
Expand description
Replace previous blackbox execution contexts with passed ones. Forces backend to skip stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by performing ‘step in’ several times, finally resorting to ‘step out’ if unsuccessful. setBlackboxExecutionContexts
Fields§
§unique_ids: Vec<String>
Array of execution context unique ids for the debugger to ignore.
Implementations§
Source§impl SetBlackboxExecutionContextsParams
impl SetBlackboxExecutionContextsParams
pub fn new(unique_ids: Vec<String>) -> SetBlackboxExecutionContextsParams
Source§impl SetBlackboxExecutionContextsParams
impl SetBlackboxExecutionContextsParams
pub const IDENTIFIER: &'static str = "Debugger.setBlackboxExecutionContexts"
Trait Implementations§
Source§impl Clone for SetBlackboxExecutionContextsParams
impl Clone for SetBlackboxExecutionContextsParams
Source§fn clone(&self) -> SetBlackboxExecutionContextsParams
fn clone(&self) -> SetBlackboxExecutionContextsParams
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<'de> Deserialize<'de> for SetBlackboxExecutionContextsParams
impl<'de> Deserialize<'de> for SetBlackboxExecutionContextsParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SetBlackboxExecutionContextsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SetBlackboxExecutionContextsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for SetBlackboxExecutionContextsParams
impl Method for SetBlackboxExecutionContextsParams
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
Source§impl PartialEq for SetBlackboxExecutionContextsParams
impl PartialEq for SetBlackboxExecutionContextsParams
Source§fn eq(&self, other: &SetBlackboxExecutionContextsParams) -> bool
fn eq(&self, other: &SetBlackboxExecutionContextsParams) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for SetBlackboxExecutionContextsParams
impl Serialize for SetBlackboxExecutionContextsParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SetBlackboxExecutionContextsParams
Auto Trait Implementations§
impl Freeze for SetBlackboxExecutionContextsParams
impl RefUnwindSafe for SetBlackboxExecutionContextsParams
impl Send for SetBlackboxExecutionContextsParams
impl Sync for SetBlackboxExecutionContextsParams
impl Unpin for SetBlackboxExecutionContextsParams
impl UnwindSafe for SetBlackboxExecutionContextsParams
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