pub struct ProcessEventBody {
pub name: String,
pub system_process_id: Option<i32>,
pub is_local_process: Option<bool>,
pub start_method: Option<ProcessStartMethod>,
pub pointer_size: Option<i32>,
/* private fields */
}
Fields§
§name: String
The logical name of the process. This is usually the full path to process’s executable file. Example: /home/example/myproj/program.js.
system_process_id: Option<i32>
The system process id of the debugged process. This property will be missing for non-system processes.
is_local_process: Option<bool>
If true, the process is running on the same computer as the debug adapter.
start_method: Option<ProcessStartMethod>
Describes how the debug engine started debugging this process.
pointer_size: Option<i32>
The size of a pointer or address for this process, in bits. This value may be used by clients when formatting addresses for display.
Implementations§
Source§impl ProcessEventBody
impl ProcessEventBody
Sourcepub fn builder() -> ProcessEventBodyBuilder<((), (), (), (), ())>
pub fn builder() -> ProcessEventBodyBuilder<((), (), (), (), ())>
Create a builder for building ProcessEventBody
.
On the builder, call .name(...)
, .system_process_id(...)
(optional), .is_local_process(...)
(optional), .start_method(...)
(optional), .pointer_size(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ProcessEventBody
.
Trait Implementations§
Source§impl Clone for ProcessEventBody
impl Clone for ProcessEventBody
Source§fn clone(&self) -> ProcessEventBody
fn clone(&self) -> ProcessEventBody
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ProcessEventBody
impl Debug for ProcessEventBody
Source§impl<'de> Deserialize<'de> for ProcessEventBody
impl<'de> Deserialize<'de> for ProcessEventBody
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>,
Source§impl From<ProcessEventBody> for Event
impl From<ProcessEventBody> for Event
Source§fn from(body: ProcessEventBody) -> Self
fn from(body: ProcessEventBody) -> Self
Source§impl From<ProcessEventBody> for ProtocolMessageContent
impl From<ProcessEventBody> for ProtocolMessageContent
Source§fn from(body: ProcessEventBody) -> Self
fn from(body: ProcessEventBody) -> Self
Source§impl PartialEq for ProcessEventBody
impl PartialEq for ProcessEventBody
Source§impl Serialize for ProcessEventBody
impl Serialize for ProcessEventBody
impl Eq for ProcessEventBody
impl StructuralPartialEq for ProcessEventBody
Auto Trait Implementations§
impl Freeze for ProcessEventBody
impl RefUnwindSafe for ProcessEventBody
impl Send for ProcessEventBody
impl Sync for ProcessEventBody
impl Unpin for ProcessEventBody
impl UnwindSafe for ProcessEventBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.