Skip to main content

CdpCommand

Trait CdpCommand 

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

    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§

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<'a> CdpCommand<'a> for ClearMessagesParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for js_protocol::console::DisableParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for js_protocol::console::EnableParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for ContinueToLocationParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for js_protocol::debugger::DisableParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for DisassembleWasmModuleParams<'a>

Source§

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

Source§

type Response = DisassembleWasmModuleReturns<'a>

Source§

impl<'a> CdpCommand<'a> for js_protocol::debugger::EnableParams

Source§

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

Source§

type Response = EnableReturns<'a>

Source§

impl<'a> CdpCommand<'a> for EvaluateOnCallFrameParams<'a>

Source§

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

Source§

type Response = EvaluateOnCallFrameReturns<'a>

Source§

impl<'a> CdpCommand<'a> for GetPossibleBreakpointsParams<'a>

Source§

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

Source§

type Response = GetPossibleBreakpointsReturns<'a>

Source§

impl<'a> CdpCommand<'a> for GetScriptSourceParams<'a>

Source§

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

Source§

type Response = GetScriptSourceReturns<'a>

Source§

impl<'a> CdpCommand<'a> for GetStackTraceParams<'a>

Source§

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

Source§

type Response = GetStackTraceReturns<'a>

Source§

impl<'a> CdpCommand<'a> for GetWasmBytecodeParams<'a>

Source§

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

Source§

type Response = GetWasmBytecodeReturns<'a>

Source§

impl<'a> CdpCommand<'a> for NextWasmDisassemblyChunkParams<'a>

Source§

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

Source§

type Response = NextWasmDisassemblyChunkReturns<'a>

Source§

impl<'a> CdpCommand<'a> for PauseOnAsyncCallParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for PauseParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for RemoveBreakpointParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for RestartFrameParams<'a>

Source§

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

Source§

type Response = RestartFrameReturns<'a>

Source§

impl<'a> CdpCommand<'a> for ResumeParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for SearchInContentParams<'a>

Source§

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

Source§

type Response = SearchInContentReturns<'a>

Source§

impl<'a> CdpCommand<'a> for js_protocol::debugger::SetAsyncCallStackDepthParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for SetBlackboxExecutionContextsParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for SetBlackboxPatternsParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for SetBlackboxedRangesParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for SetBreakpointByUrlParams<'a>

Source§

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

Source§

type Response = SetBreakpointByUrlReturns<'a>

Source§

impl<'a> CdpCommand<'a> for SetBreakpointOnFunctionCallParams<'a>

Source§

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

Source§

type Response = SetBreakpointOnFunctionCallReturns<'a>

Source§

impl<'a> CdpCommand<'a> for SetBreakpointParams<'a>

Source§

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

Source§

type Response = SetBreakpointReturns<'a>

Source§

impl<'a> CdpCommand<'a> for SetBreakpointsActiveParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for SetInstrumentationBreakpointParams<'a>

Source§

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

Source§

type Response = SetInstrumentationBreakpointReturns<'a>

Source§

impl<'a> CdpCommand<'a> for SetPauseOnExceptionsParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for SetReturnValueParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for SetScriptSourceParams<'a>

Source§

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

Source§

type Response = SetScriptSourceReturns<'a>

Source§

impl<'a> CdpCommand<'a> for SetSkipAllPausesParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for SetVariableValueParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for StepIntoParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for StepOutParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for StepOverParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for AddInspectedHeapObjectParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for CollectGarbageParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for js_protocol::heapprofiler::DisableParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for js_protocol::heapprofiler::EnableParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for GetHeapObjectIdParams<'a>

Source§

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

Source§

type Response = GetHeapObjectIdReturns<'a>

Source§

impl<'a> CdpCommand<'a> for GetObjectByHeapObjectIdParams<'a>

Source§

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

Source§

type Response = GetObjectByHeapObjectIdReturns<'a>

Source§

impl<'a> CdpCommand<'a> for GetSamplingProfileParams

Source§

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

Source§

type Response = GetSamplingProfileReturns<'a>

Source§

impl<'a> CdpCommand<'a> for StartSamplingParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for StartTrackingHeapObjectsParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for StopSamplingParams

Source§

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

Source§

type Response = StopSamplingReturns<'a>

Source§

impl<'a> CdpCommand<'a> for StopTrackingHeapObjectsParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for TakeHeapSnapshotParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for js_protocol::profiler::DisableParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for js_protocol::profiler::EnableParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for GetBestEffortCoverageParams

Source§

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

Source§

type Response = GetBestEffortCoverageReturns<'a>

Source§

impl<'a> CdpCommand<'a> for SetSamplingIntervalParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for StartParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for StartPreciseCoverageParams

Source§

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

Source§

type Response = StartPreciseCoverageReturns

Source§

impl<'a> CdpCommand<'a> for StopParams

Source§

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

Source§

type Response = StopReturns<'a>

Source§

impl<'a> CdpCommand<'a> for StopPreciseCoverageParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for TakePreciseCoverageParams

Source§

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

Source§

type Response = TakePreciseCoverageReturns<'a>

Source§

impl<'a> CdpCommand<'a> for AddBindingParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for AwaitPromiseParams<'a>

Source§

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

Source§

type Response = AwaitPromiseReturns<'a>

Source§

impl<'a> CdpCommand<'a> for CallFunctionOnParams<'a>

Source§

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

Source§

type Response = CallFunctionOnReturns<'a>

Source§

impl<'a> CdpCommand<'a> for CompileScriptParams<'a>

Source§

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

Source§

type Response = CompileScriptReturns<'a>

Source§

impl<'a> CdpCommand<'a> for js_protocol::runtime::DisableParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for DiscardConsoleEntriesParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for js_protocol::runtime::EnableParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for EvaluateParams<'a>

Source§

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

Source§

type Response = EvaluateReturns<'a>

Source§

impl<'a> CdpCommand<'a> for GetExceptionDetailsParams<'a>

Source§

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

Source§

type Response = GetExceptionDetailsReturns<'a>

Source§

impl<'a> CdpCommand<'a> for GetHeapUsageParams

Source§

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

Source§

type Response = GetHeapUsageReturns

Source§

impl<'a> CdpCommand<'a> for GetIsolateIdParams

Source§

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

Source§

type Response = GetIsolateIdReturns<'a>

Source§

impl<'a> CdpCommand<'a> for GetPropertiesParams<'a>

Source§

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

Source§

type Response = GetPropertiesReturns<'a>

Source§

impl<'a> CdpCommand<'a> for GlobalLexicalScopeNamesParams

Source§

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

Source§

type Response = GlobalLexicalScopeNamesReturns<'a>

Source§

impl<'a> CdpCommand<'a> for QueryObjectsParams<'a>

Source§

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

Source§

type Response = QueryObjectsReturns<'a>

Source§

impl<'a> CdpCommand<'a> for ReleaseObjectGroupParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for ReleaseObjectParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for RemoveBindingParams<'a>

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for RunIfWaitingForDebuggerParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for RunScriptParams<'a>

Source§

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

Source§

type Response = RunScriptReturns<'a>

Source§

impl<'a> CdpCommand<'a> for js_protocol::runtime::SetAsyncCallStackDepthParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for SetCustomObjectFormatterEnabledParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for SetMaxCallStackSizeToCaptureParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for TerminateExecutionParams

Source§

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

Source§

type Response = EmptyReturns

Source§

impl<'a> CdpCommand<'a> for GetDomainsParams

Source§

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

Source§

type Response = GetDomainsReturns<'a>