pub struct Capabilities {Show 37 fields
pub supports_configuration_done_request: bool,
pub supports_function_breakpoints: bool,
pub supports_conditional_breakpoints: bool,
pub supports_hit_conditional_breakpoints: bool,
pub supports_evaluate_for_hovers: bool,
pub exception_breakpoint_filters: Vec<ExceptionBreakpointsFilter>,
pub supports_step_back: bool,
pub supports_set_variable: bool,
pub supports_restart_frame: bool,
pub supports_goto_targets_request: bool,
pub supports_step_in_targets_request: bool,
pub supports_completions_request: bool,
pub completion_trigger_characters: Option<Vec<String>>,
pub supports_modules_request: bool,
pub additional_module_columns: Vec<ColumnDescriptor>,
pub supported_checksum_algorithms: Vec<ChecksumAlgorithm>,
pub supports_restart_request: bool,
pub supports_exception_options: bool,
pub supports_value_formatting_options: bool,
pub supports_exception_info_request: bool,
pub support_terminate_debuggee: bool,
pub support_suspend_debuggee: bool,
pub supports_delayed_stack_trace_loading: bool,
pub supports_loaded_sources_request: bool,
pub supports_log_points: bool,
pub supports_terminate_threads_request: bool,
pub supports_set_expression: bool,
pub supports_terminate_request: bool,
pub supports_data_breakpoints: bool,
pub supports_read_memory_request: bool,
pub supports_disassemble_request: bool,
pub supports_cancel_request: bool,
pub supports_breakpoint_locations_request: bool,
pub supports_clipboard_context: bool,
pub supports_stepping_granularity: bool,
pub supports_instruction_breakpoints: bool,
pub supports_exception_filter_options: bool,
/* private fields */
}Expand description
Information about the capabilities of a debug adapter.
Fields§
§supports_configuration_done_request: boolThe debug adapter supports the ‘configurationDone’ request.
supports_function_breakpoints: boolThe debug adapter supports function breakpoints.
supports_conditional_breakpoints: boolThe debug adapter supports conditional breakpoints.
supports_hit_conditional_breakpoints: boolThe debug adapter supports breakpoints that break execution after a specified number of hits.
supports_evaluate_for_hovers: boolThe debug adapter supports a (side effect free) evaluate request for data hovers.
exception_breakpoint_filters: Vec<ExceptionBreakpointsFilter>Available exception filter options for the ‘setExceptionBreakpoints’ request.
supports_step_back: boolThe debug adapter supports stepping back via the ‘stepBack’ and ‘reverseContinue’ requests.
supports_set_variable: boolThe debug adapter supports setting a variable to a value.
supports_restart_frame: boolThe debug adapter supports restarting a frame.
supports_goto_targets_request: boolThe debug adapter supports the ‘gotoTargets’ request.
supports_step_in_targets_request: boolThe debug adapter supports the ‘stepInTargets’ request.
supports_completions_request: boolThe debug adapter supports the ‘completions’ request.
completion_trigger_characters: Option<Vec<String>>The set of characters that should trigger completion in a REPL. If not specified, the UI should assume the ‘.’ character.
supports_modules_request: boolThe debug adapter supports the ‘modules’ request.
additional_module_columns: Vec<ColumnDescriptor>The set of additional module information exposed by the debug adapter.
supported_checksum_algorithms: Vec<ChecksumAlgorithm>Checksum algorithms supported by the debug adapter.
supports_restart_request: boolThe debug adapter supports the ‘restart’ request. In this case a client should not implement ‘restart’ by terminating and relaunching the adapter but by calling the RestartRequest.
supports_exception_options: boolThe debug adapter supports ‘exceptionOptions’ on the setExceptionBreakpoints request.
supports_value_formatting_options: boolThe debug adapter supports a ‘format’ attribute on the stackTraceRequest, variablesRequest, and evaluateRequest.
supports_exception_info_request: boolThe debug adapter supports the ‘exceptionInfo’ request.
support_terminate_debuggee: boolThe debug adapter supports the ‘terminateDebuggee’ attribute on the ‘disconnect’ request.
support_suspend_debuggee: boolThe debug adapter supports the ‘suspendDebuggee’ attribute on the ‘disconnect’ request.
supports_delayed_stack_trace_loading: boolThe debug adapter supports the delayed loading of parts of the stack, which requires that both the ‘startFrame’ and ‘levels’ arguments and an optional ‘totalFrames’ result of the ‘StackTrace’ request are supported.
supports_loaded_sources_request: boolThe debug adapter supports the ‘loadedSources’ request.
supports_log_points: boolThe debug adapter supports logpoints by interpreting the ‘logMessage’ attribute of the SourceBreakpoint.
supports_terminate_threads_request: boolThe debug adapter supports the ‘terminateThreads’ request.
supports_set_expression: boolThe debug adapter supports the ‘setExpression’ request.
supports_terminate_request: boolThe debug adapter supports the ‘terminate’ request.
supports_data_breakpoints: boolThe debug adapter supports data breakpoints.
supports_read_memory_request: boolThe debug adapter supports the ‘readMemory’ request.
supports_disassemble_request: boolThe debug adapter supports the ‘disassemble’ request.
supports_cancel_request: boolThe debug adapter supports the ‘cancel’ request.
supports_breakpoint_locations_request: boolThe debug adapter supports the ‘breakpointLocations’ request.
supports_clipboard_context: boolThe debug adapter supports the ‘clipboard’ context value in the ‘evaluate’ request.
supports_stepping_granularity: boolThe debug adapter supports stepping granularities (argument ‘granularity’) for the stepping requests.
supports_instruction_breakpoints: boolThe debug adapter supports adding breakpoints based on instruction references.
supports_exception_filter_options: boolThe debug adapter supports ‘filterOptions’ as an argument on the ‘setExceptionBreakpoints’ request.
Implementations§
Source§impl Capabilities
impl Capabilities
Sourcepub fn builder() -> CapabilitiesBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> CapabilitiesBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building Capabilities.
On the builder, call .supports_configuration_done_request(...)(optional), .supports_function_breakpoints(...)(optional), .supports_conditional_breakpoints(...)(optional), .supports_hit_conditional_breakpoints(...)(optional), .supports_evaluate_for_hovers(...)(optional), .exception_breakpoint_filters(...)(optional), .supports_step_back(...)(optional), .supports_set_variable(...)(optional), .supports_restart_frame(...)(optional), .supports_goto_targets_request(...)(optional), .supports_step_in_targets_request(...)(optional), .supports_completions_request(...)(optional), .completion_trigger_characters(...)(optional), .supports_modules_request(...)(optional), .additional_module_columns(...)(optional), .supported_checksum_algorithms(...)(optional), .supports_restart_request(...)(optional), .supports_exception_options(...)(optional), .supports_value_formatting_options(...)(optional), .supports_exception_info_request(...)(optional), .support_terminate_debuggee(...)(optional), .support_suspend_debuggee(...)(optional), .supports_delayed_stack_trace_loading(...)(optional), .supports_loaded_sources_request(...)(optional), .supports_log_points(...)(optional), .supports_terminate_threads_request(...)(optional), .supports_set_expression(...)(optional), .supports_terminate_request(...)(optional), .supports_data_breakpoints(...)(optional), .supports_read_memory_request(...)(optional), .supports_disassemble_request(...)(optional), .supports_cancel_request(...)(optional), .supports_breakpoint_locations_request(...)(optional), .supports_clipboard_context(...)(optional), .supports_stepping_granularity(...)(optional), .supports_instruction_breakpoints(...)(optional), .supports_exception_filter_options(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of Capabilities.
Trait Implementations§
Source§impl Clone for Capabilities
impl Clone for Capabilities
Source§fn clone(&self) -> Capabilities
fn clone(&self) -> Capabilities
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Capabilities
impl Debug for Capabilities
Source§impl Default for Capabilities
impl Default for Capabilities
Source§fn default() -> Capabilities
fn default() -> Capabilities
Source§impl<'de> Deserialize<'de> for Capabilities
impl<'de> Deserialize<'de> for Capabilities
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 PartialEq for Capabilities
impl PartialEq for Capabilities
Source§impl Serialize for Capabilities
impl Serialize for Capabilities
impl Eq for Capabilities
impl StructuralPartialEq for Capabilities
Auto Trait Implementations§
impl Freeze for Capabilities
impl RefUnwindSafe for Capabilities
impl Send for Capabilities
impl Sync for Capabilities
impl Unpin for Capabilities
impl UnwindSafe for Capabilities
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.