Skip to main content

CdpCommand

Trait CdpCommand 

Source
pub trait CdpCommand: Serialize {
    type Response: for<'de> Deserialize<'de>;

    const METHOD: &'static str;
}
Expand description

Trait for CDP commands that associate parameters with a method name and response type.

Required Associated Constants§

Source

const METHOD: &'static str

Required Associated Types§

Source

type Response: for<'de> Deserialize<'de>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl CdpCommand for ClearMessagesParams

Source§

const METHOD: &'static str = "Console.clearMessages"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for js_protocol::console::DisableParams

Source§

const METHOD: &'static str = "Console.disable"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for js_protocol::console::EnableParams

Source§

const METHOD: &'static str = "Console.enable"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for ContinueToLocationParams

Source§

const METHOD: &'static str = "Debugger.continueToLocation"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for js_protocol::debugger::DisableParams

Source§

const METHOD: &'static str = "Debugger.disable"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for DisassembleWasmModuleParams

Source§

const METHOD: &'static str = "Debugger.disassembleWasmModule"

Source§

type Response = DisassembleWasmModuleReturns

Source§

impl CdpCommand for js_protocol::debugger::EnableParams

Source§

const METHOD: &'static str = "Debugger.enable"

Source§

type Response = EnableReturns

Source§

impl CdpCommand for EvaluateOnCallFrameParams

Source§

const METHOD: &'static str = "Debugger.evaluateOnCallFrame"

Source§

type Response = EvaluateOnCallFrameReturns

Source§

impl CdpCommand for GetPossibleBreakpointsParams

Source§

const METHOD: &'static str = "Debugger.getPossibleBreakpoints"

Source§

type Response = GetPossibleBreakpointsReturns

Source§

impl CdpCommand for GetScriptSourceParams

Source§

const METHOD: &'static str = "Debugger.getScriptSource"

Source§

type Response = GetScriptSourceReturns

Source§

impl CdpCommand for GetStackTraceParams

Source§

const METHOD: &'static str = "Debugger.getStackTrace"

Source§

type Response = GetStackTraceReturns

Source§

impl CdpCommand for GetWasmBytecodeParams

Source§

const METHOD: &'static str = "Debugger.getWasmBytecode"

Source§

type Response = GetWasmBytecodeReturns

Source§

impl CdpCommand for NextWasmDisassemblyChunkParams

Source§

const METHOD: &'static str = "Debugger.nextWasmDisassemblyChunk"

Source§

type Response = NextWasmDisassemblyChunkReturns

Source§

impl CdpCommand for PauseOnAsyncCallParams

Source§

const METHOD: &'static str = "Debugger.pauseOnAsyncCall"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for PauseParams

Source§

const METHOD: &'static str = "Debugger.pause"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for RemoveBreakpointParams

Source§

const METHOD: &'static str = "Debugger.removeBreakpoint"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for RestartFrameParams

Source§

const METHOD: &'static str = "Debugger.restartFrame"

Source§

type Response = RestartFrameReturns

Source§

impl CdpCommand for ResumeParams

Source§

const METHOD: &'static str = "Debugger.resume"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for SearchInContentParams

Source§

const METHOD: &'static str = "Debugger.searchInContent"

Source§

type Response = SearchInContentReturns

Source§

impl CdpCommand for js_protocol::debugger::SetAsyncCallStackDepthParams

Source§

const METHOD: &'static str = "Debugger.setAsyncCallStackDepth"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for SetBlackboxExecutionContextsParams

Source§

const METHOD: &'static str = "Debugger.setBlackboxExecutionContexts"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for SetBlackboxPatternsParams

Source§

const METHOD: &'static str = "Debugger.setBlackboxPatterns"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for SetBlackboxedRangesParams

Source§

const METHOD: &'static str = "Debugger.setBlackboxedRanges"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for SetBreakpointByUrlParams

Source§

const METHOD: &'static str = "Debugger.setBreakpointByUrl"

Source§

type Response = SetBreakpointByUrlReturns

Source§

impl CdpCommand for SetBreakpointOnFunctionCallParams

Source§

const METHOD: &'static str = "Debugger.setBreakpointOnFunctionCall"

Source§

type Response = SetBreakpointOnFunctionCallReturns

Source§

impl CdpCommand for SetBreakpointParams

Source§

const METHOD: &'static str = "Debugger.setBreakpoint"

Source§

type Response = SetBreakpointReturns

Source§

impl CdpCommand for SetBreakpointsActiveParams

Source§

const METHOD: &'static str = "Debugger.setBreakpointsActive"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for SetInstrumentationBreakpointParams

Source§

const METHOD: &'static str = "Debugger.setInstrumentationBreakpoint"

Source§

type Response = SetInstrumentationBreakpointReturns

Source§

impl CdpCommand for SetPauseOnExceptionsParams

Source§

const METHOD: &'static str = "Debugger.setPauseOnExceptions"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for SetReturnValueParams

Source§

const METHOD: &'static str = "Debugger.setReturnValue"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for SetScriptSourceParams

Source§

const METHOD: &'static str = "Debugger.setScriptSource"

Source§

type Response = SetScriptSourceReturns

Source§

impl CdpCommand for SetSkipAllPausesParams

Source§

const METHOD: &'static str = "Debugger.setSkipAllPauses"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for SetVariableValueParams

Source§

const METHOD: &'static str = "Debugger.setVariableValue"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for StepIntoParams

Source§

const METHOD: &'static str = "Debugger.stepInto"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for StepOutParams

Source§

const METHOD: &'static str = "Debugger.stepOut"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for StepOverParams

Source§

const METHOD: &'static str = "Debugger.stepOver"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for AddInspectedHeapObjectParams

Source§

const METHOD: &'static str = "HeapProfiler.addInspectedHeapObject"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for CollectGarbageParams

Source§

const METHOD: &'static str = "HeapProfiler.collectGarbage"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for js_protocol::heapprofiler::DisableParams

Source§

const METHOD: &'static str = "HeapProfiler.disable"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for js_protocol::heapprofiler::EnableParams

Source§

const METHOD: &'static str = "HeapProfiler.enable"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for GetHeapObjectIdParams

Source§

const METHOD: &'static str = "HeapProfiler.getHeapObjectId"

Source§

type Response = GetHeapObjectIdReturns

Source§

impl CdpCommand for GetObjectByHeapObjectIdParams

Source§

const METHOD: &'static str = "HeapProfiler.getObjectByHeapObjectId"

Source§

type Response = GetObjectByHeapObjectIdReturns

Source§

impl CdpCommand for GetSamplingProfileParams

Source§

const METHOD: &'static str = "HeapProfiler.getSamplingProfile"

Source§

type Response = GetSamplingProfileReturns

Source§

impl CdpCommand for StartSamplingParams

Source§

const METHOD: &'static str = "HeapProfiler.startSampling"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for StartTrackingHeapObjectsParams

Source§

const METHOD: &'static str = "HeapProfiler.startTrackingHeapObjects"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for StopSamplingParams

Source§

const METHOD: &'static str = "HeapProfiler.stopSampling"

Source§

type Response = StopSamplingReturns

Source§

impl CdpCommand for StopTrackingHeapObjectsParams

Source§

const METHOD: &'static str = "HeapProfiler.stopTrackingHeapObjects"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for TakeHeapSnapshotParams

Source§

const METHOD: &'static str = "HeapProfiler.takeHeapSnapshot"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for js_protocol::profiler::DisableParams

Source§

const METHOD: &'static str = "Profiler.disable"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for js_protocol::profiler::EnableParams

Source§

const METHOD: &'static str = "Profiler.enable"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for GetBestEffortCoverageParams

Source§

const METHOD: &'static str = "Profiler.getBestEffortCoverage"

Source§

type Response = GetBestEffortCoverageReturns

Source§

impl CdpCommand for SetSamplingIntervalParams

Source§

const METHOD: &'static str = "Profiler.setSamplingInterval"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for StartParams

Source§

const METHOD: &'static str = "Profiler.start"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for StartPreciseCoverageParams

Source§

const METHOD: &'static str = "Profiler.startPreciseCoverage"

Source§

type Response = StartPreciseCoverageReturns

Source§

impl CdpCommand for StopParams

Source§

const METHOD: &'static str = "Profiler.stop"

Source§

type Response = StopReturns

Source§

impl CdpCommand for StopPreciseCoverageParams

Source§

const METHOD: &'static str = "Profiler.stopPreciseCoverage"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for TakePreciseCoverageParams

Source§

const METHOD: &'static str = "Profiler.takePreciseCoverage"

Source§

type Response = TakePreciseCoverageReturns

Source§

impl CdpCommand for AddBindingParams

Source§

const METHOD: &'static str = "Runtime.addBinding"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for AwaitPromiseParams

Source§

const METHOD: &'static str = "Runtime.awaitPromise"

Source§

type Response = AwaitPromiseReturns

Source§

impl CdpCommand for CallFunctionOnParams

Source§

const METHOD: &'static str = "Runtime.callFunctionOn"

Source§

type Response = CallFunctionOnReturns

Source§

impl CdpCommand for CompileScriptParams

Source§

const METHOD: &'static str = "Runtime.compileScript"

Source§

type Response = CompileScriptReturns

Source§

impl CdpCommand for js_protocol::runtime::DisableParams

Source§

const METHOD: &'static str = "Runtime.disable"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for DiscardConsoleEntriesParams

Source§

const METHOD: &'static str = "Runtime.discardConsoleEntries"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for js_protocol::runtime::EnableParams

Source§

const METHOD: &'static str = "Runtime.enable"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for EvaluateParams

Source§

const METHOD: &'static str = "Runtime.evaluate"

Source§

type Response = EvaluateReturns

Source§

impl CdpCommand for GetExceptionDetailsParams

Source§

const METHOD: &'static str = "Runtime.getExceptionDetails"

Source§

type Response = GetExceptionDetailsReturns

Source§

impl CdpCommand for GetHeapUsageParams

Source§

const METHOD: &'static str = "Runtime.getHeapUsage"

Source§

type Response = GetHeapUsageReturns

Source§

impl CdpCommand for GetIsolateIdParams

Source§

const METHOD: &'static str = "Runtime.getIsolateId"

Source§

type Response = GetIsolateIdReturns

Source§

impl CdpCommand for GetPropertiesParams

Source§

const METHOD: &'static str = "Runtime.getProperties"

Source§

type Response = GetPropertiesReturns

Source§

impl CdpCommand for GlobalLexicalScopeNamesParams

Source§

const METHOD: &'static str = "Runtime.globalLexicalScopeNames"

Source§

type Response = GlobalLexicalScopeNamesReturns

Source§

impl CdpCommand for QueryObjectsParams

Source§

const METHOD: &'static str = "Runtime.queryObjects"

Source§

type Response = QueryObjectsReturns

Source§

impl CdpCommand for ReleaseObjectGroupParams

Source§

const METHOD: &'static str = "Runtime.releaseObjectGroup"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for ReleaseObjectParams

Source§

const METHOD: &'static str = "Runtime.releaseObject"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for RemoveBindingParams

Source§

const METHOD: &'static str = "Runtime.removeBinding"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for RunIfWaitingForDebuggerParams

Source§

const METHOD: &'static str = "Runtime.runIfWaitingForDebugger"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for RunScriptParams

Source§

const METHOD: &'static str = "Runtime.runScript"

Source§

type Response = RunScriptReturns

Source§

impl CdpCommand for js_protocol::runtime::SetAsyncCallStackDepthParams

Source§

const METHOD: &'static str = "Runtime.setAsyncCallStackDepth"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for SetCustomObjectFormatterEnabledParams

Source§

const METHOD: &'static str = "Runtime.setCustomObjectFormatterEnabled"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for SetMaxCallStackSizeToCaptureParams

Source§

const METHOD: &'static str = "Runtime.setMaxCallStackSizeToCapture"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for TerminateExecutionParams

Source§

const METHOD: &'static str = "Runtime.terminateExecution"

Source§

type Response = EmptyReturns

Source§

impl CdpCommand for GetDomainsParams

Source§

const METHOD: &'static str = "Schema.getDomains"

Source§

type Response = GetDomainsReturns