pub struct SetBlackboxExecutionContextsParams<'a> { /* private fields */ }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.
Implementations§
Source§impl<'a> SetBlackboxExecutionContextsParams<'a>
impl<'a> SetBlackboxExecutionContextsParams<'a>
Sourcepub fn builder(
unique_ids: Vec<Cow<'a, str>>,
) -> SetBlackboxExecutionContextsParamsBuilder<'a>
pub fn builder( unique_ids: Vec<Cow<'a, str>>, ) -> SetBlackboxExecutionContextsParamsBuilder<'a>
Creates a builder for this type with the required parameters:
unique_ids: Array of execution context unique ids for the debugger to ignore.
Sourcepub fn unique_ids(&self) -> &[Cow<'a, str>]
pub fn unique_ids(&self) -> &[Cow<'a, str>]
Array of execution context unique ids for the debugger to ignore.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SetBlackboxExecutionContextsParams<'a>
impl<'a> CdpCommand<'a> for SetBlackboxExecutionContextsParams<'a>
Source§impl<'a> Clone for SetBlackboxExecutionContextsParams<'a>
impl<'a> Clone for SetBlackboxExecutionContextsParams<'a>
Source§fn clone(&self) -> SetBlackboxExecutionContextsParams<'a>
fn clone(&self) -> SetBlackboxExecutionContextsParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SetBlackboxExecutionContextsParams<'a>
impl<'a> Debug for SetBlackboxExecutionContextsParams<'a>
Source§impl<'a> Default for SetBlackboxExecutionContextsParams<'a>
impl<'a> Default for SetBlackboxExecutionContextsParams<'a>
Source§fn default() -> SetBlackboxExecutionContextsParams<'a>
fn default() -> SetBlackboxExecutionContextsParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SetBlackboxExecutionContextsParams<'a>
impl<'de, 'a> Deserialize<'de> for SetBlackboxExecutionContextsParams<'a>
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<'a> Freeze for SetBlackboxExecutionContextsParams<'a>
impl<'a> RefUnwindSafe for SetBlackboxExecutionContextsParams<'a>
impl<'a> Send for SetBlackboxExecutionContextsParams<'a>
impl<'a> Sync for SetBlackboxExecutionContextsParams<'a>
impl<'a> Unpin for SetBlackboxExecutionContextsParams<'a>
impl<'a> UnsafeUnpin for SetBlackboxExecutionContextsParams<'a>
impl<'a> UnwindSafe for SetBlackboxExecutionContextsParams<'a>
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