Skip to main content

DebuggerCommands

Enum DebuggerCommands 

Source
pub enum DebuggerCommands {
Show 31 variants ContinueToLocation(ContinueToLocation), Disable(Disable), Enable(Enable), EvaluateOnCallFrame(EvaluateOnCallFrame), GetPossibleBreakpoints(GetPossibleBreakpoints), GetScriptSource(GetScriptSource), DisassembleWasmModule(DisassembleWasmModule), NextWasmDisassemblyChunk(NextWasmDisassemblyChunk), GetStackTrace(GetStackTrace), Pause(Pause), RemoveBreakpoint(RemoveBreakpoint), RestartFrame(RestartFrame), Resume(Resume), SearchInContent(SearchInContent), SetAsyncCallStackDepth(SetAsyncCallStackDepth), SetBlackboxExecutionContexts(SetBlackboxExecutionContexts), SetBlackboxPatterns(SetBlackboxPatterns), SetBlackboxedRanges(SetBlackboxedRanges), SetBreakpoint(SetBreakpoint), SetInstrumentationBreakpoint(SetInstrumentationBreakpoint), SetBreakpointByUrl(SetBreakpointByUrl), SetBreakpointOnFunctionCall(SetBreakpointOnFunctionCall), SetBreakpointsActive(SetBreakpointsActive), SetPauseOnExceptions(SetPauseOnExceptions), SetReturnValue(SetReturnValue), SetScriptSource(SetScriptSource), SetSkipAllPauses(SetSkipAllPauses), SetVariableValue(SetVariableValue), StepInto(StepInto), StepOut(StepOut), StepOver(StepOver),
}

Variants§

§

ContinueToLocation(ContinueToLocation)

§

Disable(Disable)

§

Enable(Enable)

§

EvaluateOnCallFrame(EvaluateOnCallFrame)

§

GetPossibleBreakpoints(GetPossibleBreakpoints)

§

GetScriptSource(GetScriptSource)

§

DisassembleWasmModule(DisassembleWasmModule)

§

NextWasmDisassemblyChunk(NextWasmDisassemblyChunk)

§

GetStackTrace(GetStackTrace)

§

Pause(Pause)

§

RemoveBreakpoint(RemoveBreakpoint)

§

RestartFrame(RestartFrame)

§

Resume(Resume)

§

SearchInContent(SearchInContent)

§

SetAsyncCallStackDepth(SetAsyncCallStackDepth)

§

SetBlackboxExecutionContexts(SetBlackboxExecutionContexts)

§

SetBlackboxPatterns(SetBlackboxPatterns)

§

SetBlackboxedRanges(SetBlackboxedRanges)

§

SetBreakpoint(SetBreakpoint)

§

SetInstrumentationBreakpoint(SetInstrumentationBreakpoint)

§

SetBreakpointByUrl(SetBreakpointByUrl)

§

SetBreakpointOnFunctionCall(SetBreakpointOnFunctionCall)

§

SetBreakpointsActive(SetBreakpointsActive)

§

SetPauseOnExceptions(SetPauseOnExceptions)

§

SetReturnValue(SetReturnValue)

§

SetScriptSource(SetScriptSource)

§

SetSkipAllPauses(SetSkipAllPauses)

§

SetVariableValue(SetVariableValue)

§

StepInto(StepInto)

§

StepOut(StepOut)

§

StepOver(StepOver)

Implementations§

Source§

impl DebuggerCommands

Source

pub fn identifier(&self) -> &'static str

Trait Implementations§

Source§

impl Clone for DebuggerCommands

Source§

fn clone(&self) -> DebuggerCommands

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DebuggerCommands

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for DebuggerCommands

Source§

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<ContinueToLocation> for DebuggerCommands

Source§

fn from(v: ContinueToLocation) -> Self

Converts to this type from the input type.
Source§

impl From<DebuggerCommands> for Command

Source§

fn from(v: DebuggerCommands) -> Self

Converts to this type from the input type.
Source§

impl From<DebuggerCommands> for JsProtocolCommands

Source§

fn from(v: DebuggerCommands) -> Self

Converts to this type from the input type.
Source§

impl From<Disable> for DebuggerCommands

Source§

fn from(v: Disable) -> Self

Converts to this type from the input type.
Source§

impl From<DisassembleWasmModule> for DebuggerCommands

Source§

fn from(v: DisassembleWasmModule) -> Self

Converts to this type from the input type.
Source§

impl From<Enable> for DebuggerCommands

Source§

fn from(v: Enable) -> Self

Converts to this type from the input type.
Source§

impl From<EvaluateOnCallFrame> for DebuggerCommands

Source§

fn from(v: EvaluateOnCallFrame) -> Self

Converts to this type from the input type.
Source§

impl From<GetPossibleBreakpoints> for DebuggerCommands

Source§

fn from(v: GetPossibleBreakpoints) -> Self

Converts to this type from the input type.
Source§

impl From<GetScriptSource> for DebuggerCommands

Source§

fn from(v: GetScriptSource) -> Self

Converts to this type from the input type.
Source§

impl From<GetStackTrace> for DebuggerCommands

Source§

fn from(v: GetStackTrace) -> Self

Converts to this type from the input type.
Source§

impl From<NextWasmDisassemblyChunk> for DebuggerCommands

Source§

fn from(v: NextWasmDisassemblyChunk) -> Self

Converts to this type from the input type.
Source§

impl From<Pause> for DebuggerCommands

Source§

fn from(v: Pause) -> Self

Converts to this type from the input type.
Source§

impl From<RemoveBreakpoint> for DebuggerCommands

Source§

fn from(v: RemoveBreakpoint) -> Self

Converts to this type from the input type.
Source§

impl From<RestartFrame> for DebuggerCommands

Source§

fn from(v: RestartFrame) -> Self

Converts to this type from the input type.
Source§

impl From<Resume> for DebuggerCommands

Source§

fn from(v: Resume) -> Self

Converts to this type from the input type.
Source§

impl From<SearchInContent> for DebuggerCommands

Source§

fn from(v: SearchInContent) -> Self

Converts to this type from the input type.
Source§

impl From<SetAsyncCallStackDepth> for DebuggerCommands

Source§

fn from(v: SetAsyncCallStackDepth) -> Self

Converts to this type from the input type.
Source§

impl From<SetBlackboxExecutionContexts> for DebuggerCommands

Source§

fn from(v: SetBlackboxExecutionContexts) -> Self

Converts to this type from the input type.
Source§

impl From<SetBlackboxPatterns> for DebuggerCommands

Source§

fn from(v: SetBlackboxPatterns) -> Self

Converts to this type from the input type.
Source§

impl From<SetBlackboxedRanges> for DebuggerCommands

Source§

fn from(v: SetBlackboxedRanges) -> Self

Converts to this type from the input type.
Source§

impl From<SetBreakpoint> for DebuggerCommands

Source§

fn from(v: SetBreakpoint) -> Self

Converts to this type from the input type.
Source§

impl From<SetBreakpointByUrl> for DebuggerCommands

Source§

fn from(v: SetBreakpointByUrl) -> Self

Converts to this type from the input type.
Source§

impl From<SetBreakpointOnFunctionCall> for DebuggerCommands

Source§

fn from(v: SetBreakpointOnFunctionCall) -> Self

Converts to this type from the input type.
Source§

impl From<SetBreakpointsActive> for DebuggerCommands

Source§

fn from(v: SetBreakpointsActive) -> Self

Converts to this type from the input type.
Source§

impl From<SetInstrumentationBreakpoint> for DebuggerCommands

Source§

fn from(v: SetInstrumentationBreakpoint) -> Self

Converts to this type from the input type.
Source§

impl From<SetPauseOnExceptions> for DebuggerCommands

Source§

fn from(v: SetPauseOnExceptions) -> Self

Converts to this type from the input type.
Source§

impl From<SetReturnValue> for DebuggerCommands

Source§

fn from(v: SetReturnValue) -> Self

Converts to this type from the input type.
Source§

impl From<SetScriptSource> for DebuggerCommands

Source§

fn from(v: SetScriptSource) -> Self

Converts to this type from the input type.
Source§

impl From<SetSkipAllPauses> for DebuggerCommands

Source§

fn from(v: SetSkipAllPauses) -> Self

Converts to this type from the input type.
Source§

impl From<SetVariableValue> for DebuggerCommands

Source§

fn from(v: SetVariableValue) -> Self

Converts to this type from the input type.
Source§

impl From<StepInto> for DebuggerCommands

Source§

fn from(v: StepInto) -> Self

Converts to this type from the input type.
Source§

impl From<StepOut> for DebuggerCommands

Source§

fn from(v: StepOut) -> Self

Converts to this type from the input type.
Source§

impl From<StepOver> for DebuggerCommands

Source§

fn from(v: StepOver) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for DebuggerCommands

Source§

fn eq(&self, other: &DebuggerCommands) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for DebuggerCommands

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<Command> for DebuggerCommands

Source§

type Error = Command

The type returned in the event of a conversion error.
Source§

fn try_from( e: Command, ) -> Result<Self, <DebuggerCommands as TryFrom<Command>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for ContinueToLocation

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <ContinueToLocation as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for Disable

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <Disable as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for DisassembleWasmModule

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <DisassembleWasmModule as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for Enable

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <Enable as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for EvaluateOnCallFrame

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <EvaluateOnCallFrame as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for GetPossibleBreakpoints

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <GetPossibleBreakpoints as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for GetScriptSource

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <GetScriptSource as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for GetStackTrace

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <GetStackTrace as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for NextWasmDisassemblyChunk

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <NextWasmDisassemblyChunk as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for Pause

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <Pause as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for RemoveBreakpoint

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <RemoveBreakpoint as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for RestartFrame

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <RestartFrame as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for Resume

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <Resume as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SearchInContent

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <SearchInContent as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetAsyncCallStackDepth

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetAsyncCallStackDepth as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetBlackboxExecutionContexts

Source§

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>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetBlackboxPatterns

Source§

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>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetBlackboxedRanges

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetBlackboxedRanges as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetBreakpoint

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetBreakpoint as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetBreakpointByUrl

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetBreakpointByUrl as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetBreakpointOnFunctionCall

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetBreakpointOnFunctionCall as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetBreakpointsActive

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetBreakpointsActive as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetInstrumentationBreakpoint

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetInstrumentationBreakpoint as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetPauseOnExceptions

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetPauseOnExceptions as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetReturnValue

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetReturnValue as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetScriptSource

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetScriptSource as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetSkipAllPauses

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetSkipAllPauses as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for SetVariableValue

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetVariableValue as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for StepInto

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <StepInto as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for StepOut

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <StepOut as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<DebuggerCommands> for StepOver

Source§

type Error = DebuggerCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: DebuggerCommands, ) -> Result<Self, <StepOver as TryFrom<DebuggerCommands>>::Error>

Performs the conversion.
Source§

impl TryFrom<JsProtocolCommands> for DebuggerCommands

Source§

type Error = JsProtocolCommands

The type returned in the event of a conversion error.
Source§

fn try_from( e: JsProtocolCommands, ) -> Result<Self, <DebuggerCommands as TryFrom<JsProtocolCommands>>::Error>

Performs the conversion.
Source§

impl StructuralPartialEq for DebuggerCommands

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,