pub enum Disconnect {}
Expand description
The disconnect
request asks the debug adapter to disconnect from the debuggee (thus ending the debug session) and then to shut down itself (the debug adapter).
In addition, the debug adapter must terminate the debuggee if it was started with the launch
request. If an attach
request was used to connect to the debuggee, then the debug adapter must not terminate the debuggee.
This implicit behavior of when to terminate the debuggee can be overridden with the terminateDebuggee
argument (which is only supported by a debug adapter if the corresponding capability supportTerminateDebuggee
is true).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Disconnect
impl RefUnwindSafe for Disconnect
impl Send for Disconnect
impl Sync for Disconnect
impl Unpin for Disconnect
impl UnwindSafe for Disconnect
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