pub enum ProtocolMessageContent {
Request(Request),
Response(Response),
Event(Event),
}
Variants§
Request(Request)
A client or debug adapter initiated request.
Response(Response)
Response for a request.
Event(Event)
A debug adapter initiated event.
Trait Implementations§
Source§impl Clone for ProtocolMessageContent
impl Clone for ProtocolMessageContent
Source§fn clone(&self) -> ProtocolMessageContent
fn clone(&self) -> ProtocolMessageContent
Returns a copy 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 Debug for ProtocolMessageContent
impl Debug for ProtocolMessageContent
Source§impl<'de> Deserialize<'de> for ProtocolMessageContent
impl<'de> Deserialize<'de> for ProtocolMessageContent
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<AttachRequestArguments> for ProtocolMessageContent
impl From<AttachRequestArguments> for ProtocolMessageContent
Source§fn from(args: AttachRequestArguments) -> Self
fn from(args: AttachRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<BreakpointEventBody> for ProtocolMessageContent
impl From<BreakpointEventBody> for ProtocolMessageContent
Source§fn from(body: BreakpointEventBody) -> Self
fn from(body: BreakpointEventBody) -> Self
Converts to this type from the input type.
Source§impl From<BreakpointLocationsRequestArguments> for ProtocolMessageContent
impl From<BreakpointLocationsRequestArguments> for ProtocolMessageContent
Source§fn from(args: BreakpointLocationsRequestArguments) -> Self
fn from(args: BreakpointLocationsRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<CancelRequestArguments> for ProtocolMessageContent
impl From<CancelRequestArguments> for ProtocolMessageContent
Source§fn from(args: CancelRequestArguments) -> Self
fn from(args: CancelRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<CapabilitiesEventBody> for ProtocolMessageContent
impl From<CapabilitiesEventBody> for ProtocolMessageContent
Source§fn from(body: CapabilitiesEventBody) -> Self
fn from(body: CapabilitiesEventBody) -> Self
Converts to this type from the input type.
Source§impl From<CompletionsRequestArguments> for ProtocolMessageContent
impl From<CompletionsRequestArguments> for ProtocolMessageContent
Source§fn from(args: CompletionsRequestArguments) -> Self
fn from(args: CompletionsRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<ContinueRequestArguments> for ProtocolMessageContent
impl From<ContinueRequestArguments> for ProtocolMessageContent
Source§fn from(args: ContinueRequestArguments) -> Self
fn from(args: ContinueRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<ContinuedEventBody> for ProtocolMessageContent
impl From<ContinuedEventBody> for ProtocolMessageContent
Source§fn from(body: ContinuedEventBody) -> Self
fn from(body: ContinuedEventBody) -> Self
Converts to this type from the input type.
Source§impl From<DataBreakpointInfoRequestArguments> for ProtocolMessageContent
impl From<DataBreakpointInfoRequestArguments> for ProtocolMessageContent
Source§fn from(args: DataBreakpointInfoRequestArguments) -> Self
fn from(args: DataBreakpointInfoRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<DisassembleRequestArguments> for ProtocolMessageContent
impl From<DisassembleRequestArguments> for ProtocolMessageContent
Source§fn from(args: DisassembleRequestArguments) -> Self
fn from(args: DisassembleRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<DisconnectRequestArguments> for ProtocolMessageContent
impl From<DisconnectRequestArguments> for ProtocolMessageContent
Source§fn from(args: DisconnectRequestArguments) -> Self
fn from(args: DisconnectRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<EvaluateRequestArguments> for ProtocolMessageContent
impl From<EvaluateRequestArguments> for ProtocolMessageContent
Source§fn from(args: EvaluateRequestArguments) -> Self
fn from(args: EvaluateRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<Event> for ProtocolMessageContent
impl From<Event> for ProtocolMessageContent
Source§impl From<ExceptionInfoRequestArguments> for ProtocolMessageContent
impl From<ExceptionInfoRequestArguments> for ProtocolMessageContent
Source§fn from(args: ExceptionInfoRequestArguments) -> Self
fn from(args: ExceptionInfoRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<ExitedEventBody> for ProtocolMessageContent
impl From<ExitedEventBody> for ProtocolMessageContent
Source§fn from(body: ExitedEventBody) -> Self
fn from(body: ExitedEventBody) -> Self
Converts to this type from the input type.
Source§impl From<GotoRequestArguments> for ProtocolMessageContent
impl From<GotoRequestArguments> for ProtocolMessageContent
Source§fn from(args: GotoRequestArguments) -> Self
fn from(args: GotoRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<GotoTargetsRequestArguments> for ProtocolMessageContent
impl From<GotoTargetsRequestArguments> for ProtocolMessageContent
Source§fn from(args: GotoTargetsRequestArguments) -> Self
fn from(args: GotoTargetsRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<InitializeRequestArguments> for ProtocolMessageContent
impl From<InitializeRequestArguments> for ProtocolMessageContent
Source§fn from(args: InitializeRequestArguments) -> Self
fn from(args: InitializeRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<InvalidatedEventBody> for ProtocolMessageContent
impl From<InvalidatedEventBody> for ProtocolMessageContent
Source§fn from(body: InvalidatedEventBody) -> Self
fn from(body: InvalidatedEventBody) -> Self
Converts to this type from the input type.
Source§impl From<LaunchRequestArguments> for ProtocolMessageContent
impl From<LaunchRequestArguments> for ProtocolMessageContent
Source§fn from(args: LaunchRequestArguments) -> Self
fn from(args: LaunchRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<LoadedSourceEventBody> for ProtocolMessageContent
impl From<LoadedSourceEventBody> for ProtocolMessageContent
Source§fn from(body: LoadedSourceEventBody) -> Self
fn from(body: LoadedSourceEventBody) -> Self
Converts to this type from the input type.
Source§impl From<ModuleEventBody> for ProtocolMessageContent
impl From<ModuleEventBody> for ProtocolMessageContent
Source§fn from(body: ModuleEventBody) -> Self
fn from(body: ModuleEventBody) -> Self
Converts to this type from the input type.
Source§impl From<ModulesRequestArguments> for ProtocolMessageContent
impl From<ModulesRequestArguments> for ProtocolMessageContent
Source§fn from(args: ModulesRequestArguments) -> Self
fn from(args: ModulesRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<NextRequestArguments> for ProtocolMessageContent
impl From<NextRequestArguments> for ProtocolMessageContent
Source§fn from(args: NextRequestArguments) -> Self
fn from(args: NextRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<OutputEventBody> for ProtocolMessageContent
impl From<OutputEventBody> for ProtocolMessageContent
Source§fn from(body: OutputEventBody) -> Self
fn from(body: OutputEventBody) -> Self
Converts to this type from the input type.
Source§impl From<PauseRequestArguments> for ProtocolMessageContent
impl From<PauseRequestArguments> for ProtocolMessageContent
Source§fn from(args: PauseRequestArguments) -> Self
fn from(args: PauseRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<ProcessEventBody> for ProtocolMessageContent
impl From<ProcessEventBody> for ProtocolMessageContent
Source§fn from(body: ProcessEventBody) -> Self
fn from(body: ProcessEventBody) -> Self
Converts to this type from the input type.
Source§impl From<ProgressEndEventBody> for ProtocolMessageContent
impl From<ProgressEndEventBody> for ProtocolMessageContent
Source§fn from(body: ProgressEndEventBody) -> Self
fn from(body: ProgressEndEventBody) -> Self
Converts to this type from the input type.
Source§impl From<ProgressStartEventBody> for ProtocolMessageContent
impl From<ProgressStartEventBody> for ProtocolMessageContent
Source§fn from(body: ProgressStartEventBody) -> Self
fn from(body: ProgressStartEventBody) -> Self
Converts to this type from the input type.
Source§impl From<ProgressUpdateEventBody> for ProtocolMessageContent
impl From<ProgressUpdateEventBody> for ProtocolMessageContent
Source§fn from(body: ProgressUpdateEventBody) -> Self
fn from(body: ProgressUpdateEventBody) -> Self
Converts to this type from the input type.
Source§impl From<ReadMemoryRequestArguments> for ProtocolMessageContent
impl From<ReadMemoryRequestArguments> for ProtocolMessageContent
Source§fn from(args: ReadMemoryRequestArguments) -> Self
fn from(args: ReadMemoryRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<Request> for ProtocolMessageContent
impl From<Request> for ProtocolMessageContent
Source§impl From<Response> for ProtocolMessageContent
impl From<Response> for ProtocolMessageContent
Source§impl From<RestartFrameRequestArguments> for ProtocolMessageContent
impl From<RestartFrameRequestArguments> for ProtocolMessageContent
Source§fn from(args: RestartFrameRequestArguments) -> Self
fn from(args: RestartFrameRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<ReverseContinueRequestArguments> for ProtocolMessageContent
impl From<ReverseContinueRequestArguments> for ProtocolMessageContent
Source§fn from(args: ReverseContinueRequestArguments) -> Self
fn from(args: ReverseContinueRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<RunInTerminalRequestArguments> for ProtocolMessageContent
impl From<RunInTerminalRequestArguments> for ProtocolMessageContent
Source§fn from(args: RunInTerminalRequestArguments) -> Self
fn from(args: RunInTerminalRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<ScopesRequestArguments> for ProtocolMessageContent
impl From<ScopesRequestArguments> for ProtocolMessageContent
Source§fn from(args: ScopesRequestArguments) -> Self
fn from(args: ScopesRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<SetBreakpointsRequestArguments> for ProtocolMessageContent
impl From<SetBreakpointsRequestArguments> for ProtocolMessageContent
Source§fn from(args: SetBreakpointsRequestArguments) -> Self
fn from(args: SetBreakpointsRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<SetDataBreakpointsRequestArguments> for ProtocolMessageContent
impl From<SetDataBreakpointsRequestArguments> for ProtocolMessageContent
Source§fn from(args: SetDataBreakpointsRequestArguments) -> Self
fn from(args: SetDataBreakpointsRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<SetExceptionBreakpointsRequestArguments> for ProtocolMessageContent
impl From<SetExceptionBreakpointsRequestArguments> for ProtocolMessageContent
Source§fn from(args: SetExceptionBreakpointsRequestArguments) -> Self
fn from(args: SetExceptionBreakpointsRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<SetExpressionRequestArguments> for ProtocolMessageContent
impl From<SetExpressionRequestArguments> for ProtocolMessageContent
Source§fn from(args: SetExpressionRequestArguments) -> Self
fn from(args: SetExpressionRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<SetFunctionBreakpointsRequestArguments> for ProtocolMessageContent
impl From<SetFunctionBreakpointsRequestArguments> for ProtocolMessageContent
Source§fn from(args: SetFunctionBreakpointsRequestArguments) -> Self
fn from(args: SetFunctionBreakpointsRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<SetInstructionBreakpointsRequestArguments> for ProtocolMessageContent
impl From<SetInstructionBreakpointsRequestArguments> for ProtocolMessageContent
Source§fn from(args: SetInstructionBreakpointsRequestArguments) -> Self
fn from(args: SetInstructionBreakpointsRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<SetVariableRequestArguments> for ProtocolMessageContent
impl From<SetVariableRequestArguments> for ProtocolMessageContent
Source§fn from(args: SetVariableRequestArguments) -> Self
fn from(args: SetVariableRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<SourceRequestArguments> for ProtocolMessageContent
impl From<SourceRequestArguments> for ProtocolMessageContent
Source§fn from(args: SourceRequestArguments) -> Self
fn from(args: SourceRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<StackTraceRequestArguments> for ProtocolMessageContent
impl From<StackTraceRequestArguments> for ProtocolMessageContent
Source§fn from(args: StackTraceRequestArguments) -> Self
fn from(args: StackTraceRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<StepBackRequestArguments> for ProtocolMessageContent
impl From<StepBackRequestArguments> for ProtocolMessageContent
Source§fn from(args: StepBackRequestArguments) -> Self
fn from(args: StepBackRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<StepInRequestArguments> for ProtocolMessageContent
impl From<StepInRequestArguments> for ProtocolMessageContent
Source§fn from(args: StepInRequestArguments) -> Self
fn from(args: StepInRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<StepInTargetsRequestArguments> for ProtocolMessageContent
impl From<StepInTargetsRequestArguments> for ProtocolMessageContent
Source§fn from(args: StepInTargetsRequestArguments) -> Self
fn from(args: StepInTargetsRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<StepOutRequestArguments> for ProtocolMessageContent
impl From<StepOutRequestArguments> for ProtocolMessageContent
Source§fn from(args: StepOutRequestArguments) -> Self
fn from(args: StepOutRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<StoppedEventBody> for ProtocolMessageContent
impl From<StoppedEventBody> for ProtocolMessageContent
Source§fn from(body: StoppedEventBody) -> Self
fn from(body: StoppedEventBody) -> Self
Converts to this type from the input type.
Source§impl From<TerminateRequestArguments> for ProtocolMessageContent
impl From<TerminateRequestArguments> for ProtocolMessageContent
Source§fn from(args: TerminateRequestArguments) -> Self
fn from(args: TerminateRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<TerminateThreadsRequestArguments> for ProtocolMessageContent
impl From<TerminateThreadsRequestArguments> for ProtocolMessageContent
Source§fn from(args: TerminateThreadsRequestArguments) -> Self
fn from(args: TerminateThreadsRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<TerminatedEventBody> for ProtocolMessageContent
impl From<TerminatedEventBody> for ProtocolMessageContent
Source§fn from(body: TerminatedEventBody) -> Self
fn from(body: TerminatedEventBody) -> Self
Converts to this type from the input type.
Source§impl From<ThreadEventBody> for ProtocolMessageContent
impl From<ThreadEventBody> for ProtocolMessageContent
Source§fn from(body: ThreadEventBody) -> Self
fn from(body: ThreadEventBody) -> Self
Converts to this type from the input type.
Source§impl From<VariablesRequestArguments> for ProtocolMessageContent
impl From<VariablesRequestArguments> for ProtocolMessageContent
Source§fn from(args: VariablesRequestArguments) -> Self
fn from(args: VariablesRequestArguments) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProtocolMessageContent
impl PartialEq for ProtocolMessageContent
Source§impl Serialize for ProtocolMessageContent
impl Serialize for ProtocolMessageContent
impl StructuralPartialEq for ProtocolMessageContent
Auto Trait Implementations§
impl Freeze for ProtocolMessageContent
impl RefUnwindSafe for ProtocolMessageContent
impl Send for ProtocolMessageContent
impl Sync for ProtocolMessageContent
impl Unpin for ProtocolMessageContent
impl UnwindSafe for ProtocolMessageContent
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