diff options
Diffstat (limited to 'helix-dap/src/types.rs')
-rw-r--r-- | helix-dap/src/types.rs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/helix-dap/src/types.rs b/helix-dap/src/types.rs index c598790b..bbaf53a6 100644 --- a/helix-dap/src/types.rs +++ b/helix-dap/src/types.rs @@ -378,7 +378,7 @@ pub mod requests { impl Request for Launch { type Arguments = Value; - type Result = Value; + type Result = (); const COMMAND: &'static str = "launch"; } @@ -387,7 +387,7 @@ pub mod requests { impl Request for Attach { type Arguments = Value; - type Result = Value; + type Result = (); const COMMAND: &'static str = "attach"; } @@ -403,6 +403,15 @@ pub mod requests { } #[derive(Debug)] + pub enum Restart {} + + impl Request for Restart { + type Arguments = Value; + type Result = (); + const COMMAND: &'static str = "restart"; + } + + #[derive(Debug)] pub enum Disconnect {} impl Request for Disconnect { |