Enum ProtocolMessageContent

Source
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

Source§

fn clone(&self) -> ProtocolMessageContent

Returns a copy 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 ProtocolMessageContent

Source§

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

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

impl<'de> Deserialize<'de> for ProtocolMessageContent

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<AttachRequestArguments> for ProtocolMessageContent

Source§

fn from(args: AttachRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<BreakpointEventBody> for ProtocolMessageContent

Source§

fn from(body: BreakpointEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<BreakpointLocationsRequestArguments> for ProtocolMessageContent

Source§

fn from(args: BreakpointLocationsRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<CancelRequestArguments> for ProtocolMessageContent

Source§

fn from(args: CancelRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<CapabilitiesEventBody> for ProtocolMessageContent

Source§

fn from(body: CapabilitiesEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<CompletionsRequestArguments> for ProtocolMessageContent

Source§

fn from(args: CompletionsRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<ContinueRequestArguments> for ProtocolMessageContent

Source§

fn from(args: ContinueRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<ContinuedEventBody> for ProtocolMessageContent

Source§

fn from(body: ContinuedEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<DataBreakpointInfoRequestArguments> for ProtocolMessageContent

Source§

fn from(args: DataBreakpointInfoRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<DisassembleRequestArguments> for ProtocolMessageContent

Source§

fn from(args: DisassembleRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<DisconnectRequestArguments> for ProtocolMessageContent

Source§

fn from(args: DisconnectRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<EvaluateRequestArguments> for ProtocolMessageContent

Source§

fn from(args: EvaluateRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<Event> for ProtocolMessageContent

Source§

fn from(event: Event) -> Self

Converts to this type from the input type.
Source§

impl From<ExceptionInfoRequestArguments> for ProtocolMessageContent

Source§

fn from(args: ExceptionInfoRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<ExitedEventBody> for ProtocolMessageContent

Source§

fn from(body: ExitedEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<GotoRequestArguments> for ProtocolMessageContent

Source§

fn from(args: GotoRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<GotoTargetsRequestArguments> for ProtocolMessageContent

Source§

fn from(args: GotoTargetsRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<InitializeRequestArguments> for ProtocolMessageContent

Source§

fn from(args: InitializeRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<InvalidatedEventBody> for ProtocolMessageContent

Source§

fn from(body: InvalidatedEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<LaunchRequestArguments> for ProtocolMessageContent

Source§

fn from(args: LaunchRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<LoadedSourceEventBody> for ProtocolMessageContent

Source§

fn from(body: LoadedSourceEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<ModuleEventBody> for ProtocolMessageContent

Source§

fn from(body: ModuleEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<ModulesRequestArguments> for ProtocolMessageContent

Source§

fn from(args: ModulesRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<NextRequestArguments> for ProtocolMessageContent

Source§

fn from(args: NextRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<OutputEventBody> for ProtocolMessageContent

Source§

fn from(body: OutputEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<PauseRequestArguments> for ProtocolMessageContent

Source§

fn from(args: PauseRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<ProcessEventBody> for ProtocolMessageContent

Source§

fn from(body: ProcessEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<ProgressEndEventBody> for ProtocolMessageContent

Source§

fn from(body: ProgressEndEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<ProgressStartEventBody> for ProtocolMessageContent

Source§

fn from(body: ProgressStartEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<ProgressUpdateEventBody> for ProtocolMessageContent

Source§

fn from(body: ProgressUpdateEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<ReadMemoryRequestArguments> for ProtocolMessageContent

Source§

fn from(args: ReadMemoryRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<Request> for ProtocolMessageContent

Source§

fn from(request: Request) -> Self

Converts to this type from the input type.
Source§

impl From<Response> for ProtocolMessageContent

Source§

fn from(response: Response) -> Self

Converts to this type from the input type.
Source§

impl From<RestartFrameRequestArguments> for ProtocolMessageContent

Source§

fn from(args: RestartFrameRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<ReverseContinueRequestArguments> for ProtocolMessageContent

Source§

fn from(args: ReverseContinueRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<RunInTerminalRequestArguments> for ProtocolMessageContent

Source§

fn from(args: RunInTerminalRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<ScopesRequestArguments> for ProtocolMessageContent

Source§

fn from(args: ScopesRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<SetBreakpointsRequestArguments> for ProtocolMessageContent

Source§

fn from(args: SetBreakpointsRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<SetDataBreakpointsRequestArguments> for ProtocolMessageContent

Source§

fn from(args: SetDataBreakpointsRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<SetExceptionBreakpointsRequestArguments> for ProtocolMessageContent

Source§

fn from(args: SetExceptionBreakpointsRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<SetExpressionRequestArguments> for ProtocolMessageContent

Source§

fn from(args: SetExpressionRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<SetFunctionBreakpointsRequestArguments> for ProtocolMessageContent

Source§

fn from(args: SetFunctionBreakpointsRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<SetInstructionBreakpointsRequestArguments> for ProtocolMessageContent

Source§

fn from(args: SetInstructionBreakpointsRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<SetVariableRequestArguments> for ProtocolMessageContent

Source§

fn from(args: SetVariableRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<SourceRequestArguments> for ProtocolMessageContent

Source§

fn from(args: SourceRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<StackTraceRequestArguments> for ProtocolMessageContent

Source§

fn from(args: StackTraceRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<StepBackRequestArguments> for ProtocolMessageContent

Source§

fn from(args: StepBackRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<StepInRequestArguments> for ProtocolMessageContent

Source§

fn from(args: StepInRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<StepInTargetsRequestArguments> for ProtocolMessageContent

Source§

fn from(args: StepInTargetsRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<StepOutRequestArguments> for ProtocolMessageContent

Source§

fn from(args: StepOutRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<StoppedEventBody> for ProtocolMessageContent

Source§

fn from(body: StoppedEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<TerminateRequestArguments> for ProtocolMessageContent

Source§

fn from(args: TerminateRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<TerminateThreadsRequestArguments> for ProtocolMessageContent

Source§

fn from(args: TerminateThreadsRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl From<TerminatedEventBody> for ProtocolMessageContent

Source§

fn from(body: TerminatedEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadEventBody> for ProtocolMessageContent

Source§

fn from(body: ThreadEventBody) -> Self

Converts to this type from the input type.
Source§

impl From<VariablesRequestArguments> for ProtocolMessageContent

Source§

fn from(args: VariablesRequestArguments) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for ProtocolMessageContent

Source§

fn eq(&self, other: &ProtocolMessageContent) -> 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 ProtocolMessageContent

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 StructuralPartialEq for ProtocolMessageContent

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>,