pub struct SetBlackboxExecutionContexts {
pub method: SetBlackboxExecutionContextsMethod,
pub params: SetBlackboxExecutionContextsParams,
}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§
§method: SetBlackboxExecutionContextsMethod§params: SetBlackboxExecutionContextsParamsImplementations§
Source§impl SetBlackboxExecutionContexts
impl SetBlackboxExecutionContexts
pub fn builder() -> SetBlackboxExecutionContextsBuilder
Source§impl SetBlackboxExecutionContexts
impl SetBlackboxExecutionContexts
pub const IDENTIFIER: &'static str = "Debugger.setBlackboxExecutionContexts"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetBlackboxExecutionContexts
impl Clone for SetBlackboxExecutionContexts
Source§fn clone(&self) -> SetBlackboxExecutionContexts
fn clone(&self) -> SetBlackboxExecutionContexts
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 CommandResult for SetBlackboxExecutionContexts
impl CommandResult for SetBlackboxExecutionContexts
type Result = SetBlackboxExecutionContextsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetBlackboxExecutionContexts
impl Debug for SetBlackboxExecutionContexts
Source§impl<'de> Deserialize<'de> for SetBlackboxExecutionContexts
impl<'de> Deserialize<'de> for SetBlackboxExecutionContexts
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
Source§impl From<SetBlackboxExecutionContexts> for Command
impl From<SetBlackboxExecutionContexts> for Command
Source§fn from(v: SetBlackboxExecutionContexts) -> Self
fn from(v: SetBlackboxExecutionContexts) -> Self
Converts to this type from the input type.
Source§impl From<SetBlackboxExecutionContexts> for DebuggerCommands
impl From<SetBlackboxExecutionContexts> for DebuggerCommands
Source§fn from(v: SetBlackboxExecutionContexts) -> Self
fn from(v: SetBlackboxExecutionContexts) -> Self
Converts to this type from the input type.
Source§impl From<SetBlackboxExecutionContexts> for JsProtocolCommands
impl From<SetBlackboxExecutionContexts> for JsProtocolCommands
Source§fn from(v: SetBlackboxExecutionContexts) -> Self
fn from(v: SetBlackboxExecutionContexts) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetBlackboxExecutionContexts
impl PartialEq for SetBlackboxExecutionContexts
Source§fn eq(&self, other: &SetBlackboxExecutionContexts) -> bool
fn eq(&self, other: &SetBlackboxExecutionContexts) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<DebuggerCommands> for SetBlackboxExecutionContexts
impl TryFrom<DebuggerCommands> for SetBlackboxExecutionContexts
Source§type Error = DebuggerCommands
type Error = DebuggerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DebuggerCommands,
) -> Result<Self, <SetBlackboxExecutionContexts as TryFrom<DebuggerCommands>>::Error>
fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetBlackboxExecutionContexts as TryFrom<DebuggerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<JsProtocolCommands> for SetBlackboxExecutionContexts
impl TryFrom<JsProtocolCommands> for SetBlackboxExecutionContexts
Source§type Error = JsProtocolCommands
type Error = JsProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: JsProtocolCommands,
) -> Result<Self, <SetBlackboxExecutionContexts as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <SetBlackboxExecutionContexts as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetBlackboxExecutionContexts
Auto Trait Implementations§
impl Freeze for SetBlackboxExecutionContexts
impl RefUnwindSafe for SetBlackboxExecutionContexts
impl Send for SetBlackboxExecutionContexts
impl Sync for SetBlackboxExecutionContexts
impl Unpin for SetBlackboxExecutionContexts
impl UnsafeUnpin for SetBlackboxExecutionContexts
impl UnwindSafe for SetBlackboxExecutionContexts
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