pub struct ProcessEvent {
pub name: String,
pub system_process_id: Option<u64>,
pub is_local_process: Option<bool>,
pub start_method: Option<ProcessEventStartMethod>,
pub pointer_size: Option<u64>,
}
Expand description
The event indicates that the debugger has begun debugging a new process. Either one that it has launched, or one that it has attached to.
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<u64>
The system process id of the debugged process. This property is 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<ProcessEventStartMethod>
Describes how the debug engine started debugging this process.
pointer_size: Option<u64>
The size of a pointer or address for this process, in bits. This value may be used by clients when formatting addresses for display.
Trait Implementations§
Source§impl Clone for ProcessEvent
impl Clone for ProcessEvent
Source§fn clone(&self) -> ProcessEvent
fn clone(&self) -> ProcessEvent
Returns a duplicate 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 ProcessEvent
impl Debug for ProcessEvent
Source§impl<'de> Deserialize<'de> for ProcessEvent
impl<'de> Deserialize<'de> for ProcessEvent
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
Auto Trait Implementations§
impl Freeze for ProcessEvent
impl RefUnwindSafe for ProcessEvent
impl Send for ProcessEvent
impl Sync for ProcessEvent
impl Unpin for ProcessEvent
impl UnwindSafe for ProcessEvent
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