pub struct SetBlackboxPatterns {
pub method: SetBlackboxPatternsMethod,
pub params: SetBlackboxPatternsParams,
}Expand description
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. setBlackboxPatterns
Fields§
§method: SetBlackboxPatternsMethod§params: SetBlackboxPatternsParamsImplementations§
Source§impl SetBlackboxPatterns
impl SetBlackboxPatterns
pub fn builder() -> SetBlackboxPatternsBuilder
Source§impl SetBlackboxPatterns
impl SetBlackboxPatterns
pub const IDENTIFIER: &'static str = "Debugger.setBlackboxPatterns"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetBlackboxPatterns
impl Clone for SetBlackboxPatterns
Source§fn clone(&self) -> SetBlackboxPatterns
fn clone(&self) -> SetBlackboxPatterns
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 SetBlackboxPatterns
impl CommandResult for SetBlackboxPatterns
type Result = SetBlackboxPatternsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetBlackboxPatterns
impl Debug for SetBlackboxPatterns
Source§impl<'de> Deserialize<'de> for SetBlackboxPatterns
impl<'de> Deserialize<'de> for SetBlackboxPatterns
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<SetBlackboxPatterns> for Command
impl From<SetBlackboxPatterns> for Command
Source§fn from(v: SetBlackboxPatterns) -> Self
fn from(v: SetBlackboxPatterns) -> Self
Converts to this type from the input type.
Source§impl From<SetBlackboxPatterns> for DebuggerCommands
impl From<SetBlackboxPatterns> for DebuggerCommands
Source§fn from(v: SetBlackboxPatterns) -> Self
fn from(v: SetBlackboxPatterns) -> Self
Converts to this type from the input type.
Source§impl From<SetBlackboxPatterns> for JsProtocolCommands
impl From<SetBlackboxPatterns> for JsProtocolCommands
Source§fn from(v: SetBlackboxPatterns) -> Self
fn from(v: SetBlackboxPatterns) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetBlackboxPatterns
impl PartialEq for SetBlackboxPatterns
Source§impl Serialize for SetBlackboxPatterns
impl Serialize for SetBlackboxPatterns
Source§impl TryFrom<Command> for SetBlackboxPatterns
impl TryFrom<Command> for SetBlackboxPatterns
Source§impl TryFrom<DebuggerCommands> for SetBlackboxPatterns
impl TryFrom<DebuggerCommands> for SetBlackboxPatterns
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, <SetBlackboxPatterns as TryFrom<DebuggerCommands>>::Error>
fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetBlackboxPatterns as TryFrom<DebuggerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<JsProtocolCommands> for SetBlackboxPatterns
impl TryFrom<JsProtocolCommands> for SetBlackboxPatterns
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, <SetBlackboxPatterns as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <SetBlackboxPatterns as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetBlackboxPatterns
Auto Trait Implementations§
impl Freeze for SetBlackboxPatterns
impl RefUnwindSafe for SetBlackboxPatterns
impl Send for SetBlackboxPatterns
impl Sync for SetBlackboxPatterns
impl Unpin for SetBlackboxPatterns
impl UnsafeUnpin for SetBlackboxPatterns
impl UnwindSafe for SetBlackboxPatterns
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