pub struct DisconnectRequestArguments {
pub restart: bool,
pub terminate_debuggee: Option<bool>,
pub suspend_debuggee: bool,
/* private fields */
}
Fields§
§restart: bool
A value of true indicates that this ‘disconnect’ request is part of a restart sequence.
terminate_debuggee: Option<bool>
Indicates whether the debuggee should be terminated when the debugger is disconnected.
If unspecified, the debug adapter is free to do whatever it thinks is best.
The attribute is only honored by a debug adapter if the capability ‘supportTerminateDebuggee’ is true.
suspend_debuggee: bool
Indicates whether the debuggee should stay suspended when the debugger is disconnected.
If unspecified, the debuggee should resume execution.
The attribute is only honored by a debug adapter if the capability ‘supportSuspendDebuggee’ is true.
Implementations§
Source§impl DisconnectRequestArguments
impl DisconnectRequestArguments
Sourcepub fn builder() -> DisconnectRequestArgumentsBuilder<((), (), ())>
pub fn builder() -> DisconnectRequestArgumentsBuilder<((), (), ())>
Create a builder for building DisconnectRequestArguments
.
On the builder, call .restart(...)
(optional), .terminate_debuggee(...)
(optional), .suspend_debuggee(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of DisconnectRequestArguments
.
Trait Implementations§
Source§impl Clone for DisconnectRequestArguments
impl Clone for DisconnectRequestArguments
Source§fn clone(&self) -> DisconnectRequestArguments
fn clone(&self) -> DisconnectRequestArguments
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 DisconnectRequestArguments
impl Debug for DisconnectRequestArguments
Source§impl<'de> Deserialize<'de> for DisconnectRequestArguments
impl<'de> Deserialize<'de> for DisconnectRequestArguments
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<DisconnectRequestArguments> for ProtocolMessageContent
impl From<DisconnectRequestArguments> for ProtocolMessageContent
Source§fn from(args: DisconnectRequestArguments) -> Self
fn from(args: DisconnectRequestArguments) -> Self
Source§impl From<DisconnectRequestArguments> for Request
impl From<DisconnectRequestArguments> for Request
Source§fn from(args: DisconnectRequestArguments) -> Self
fn from(args: DisconnectRequestArguments) -> Self
Source§impl PartialEq for DisconnectRequestArguments
impl PartialEq for DisconnectRequestArguments
Source§fn eq(&self, other: &DisconnectRequestArguments) -> bool
fn eq(&self, other: &DisconnectRequestArguments) -> bool
self
and other
values to be equal, and is used by ==
.impl Eq for DisconnectRequestArguments
impl StructuralPartialEq for DisconnectRequestArguments
Auto Trait Implementations§
impl Freeze for DisconnectRequestArguments
impl RefUnwindSafe for DisconnectRequestArguments
impl Send for DisconnectRequestArguments
impl Sync for DisconnectRequestArguments
impl Unpin for DisconnectRequestArguments
impl UnwindSafe for DisconnectRequestArguments
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.