Struct Capabilities

Source
pub struct Capabilities {
Show 27 fields pub additional_module_columns: Option<Vec<ColumnDescriptor>>, pub exception_breakpoint_filters: Option<Vec<ExceptionBreakpointsFilter>>, pub support_terminate_debuggee: Option<bool>, pub supported_checksum_algorithms: Option<Vec<ChecksumAlgorithm>>, pub supports_completions_request: Option<bool>, pub supports_conditional_breakpoints: Option<bool>, pub supports_configuration_done_request: Option<bool>, pub supports_data_breakpoints: Option<bool>, pub supports_delayed_stack_trace_loading: Option<bool>, pub supports_evaluate_for_hovers: Option<bool>, pub supports_exception_info_request: Option<bool>, pub supports_exception_options: Option<bool>, pub supports_function_breakpoints: Option<bool>, pub supports_goto_targets_request: Option<bool>, pub supports_hit_conditional_breakpoints: Option<bool>, pub supports_loaded_sources_request: Option<bool>, pub supports_log_points: Option<bool>, pub supports_modules_request: Option<bool>, pub supports_restart_frame: Option<bool>, pub supports_restart_request: Option<bool>, pub supports_set_expression: Option<bool>, pub supports_set_variable: Option<bool>, pub supports_step_back: Option<bool>, pub supports_step_in_targets_request: Option<bool>, pub supports_terminate_request: Option<bool>, pub supports_terminate_threads_request: Option<bool>, pub supports_value_formatting_options: Option<bool>,
}
Expand description

Information about the capabilities of a debug adapter.

Fields§

§additional_module_columns: Option<Vec<ColumnDescriptor>>

The set of additional module information exposed by the debug adapter.

§exception_breakpoint_filters: Option<Vec<ExceptionBreakpointsFilter>>

Available filters or options for the setExceptionBreakpoints request.

§support_terminate_debuggee: Option<bool>

The debug adapter supports the ‘terminateDebuggee’ attribute on the ‘disconnect’ request.

§supported_checksum_algorithms: Option<Vec<ChecksumAlgorithm>>

Checksum algorithms supported by the debug adapter.

§supports_completions_request: Option<bool>

The debug adapter supports the ‘completions’ request.

§supports_conditional_breakpoints: Option<bool>

The debug adapter supports conditional breakpoints.

§supports_configuration_done_request: Option<bool>

The debug adapter supports the ‘configurationDone’ request.

§supports_data_breakpoints: Option<bool>

The debug adapter supports data breakpoints.

§supports_delayed_stack_trace_loading: Option<bool>

The debug adapter supports the delayed loading of parts of the stack, which requires that both the ‘startFrame’ and ‘levels’ arguments and the ‘totalFrames’ result of the ‘StackTrace’ request are supported.

§supports_evaluate_for_hovers: Option<bool>

The debug adapter supports a (side effect free) evaluate request for data hovers.

§supports_exception_info_request: Option<bool>

The debug adapter supports the ‘exceptionInfo’ request.

§supports_exception_options: Option<bool>

The debug adapter supports ‘exceptionOptions’ on the setExceptionBreakpoints request.

§supports_function_breakpoints: Option<bool>

The debug adapter supports function breakpoints.

§supports_goto_targets_request: Option<bool>

The debug adapter supports the ‘gotoTargets’ request.

§supports_hit_conditional_breakpoints: Option<bool>

The debug adapter supports breakpoints that break execution after a specified number of hits.

§supports_loaded_sources_request: Option<bool>

The debug adapter supports the ‘loadedSources’ request.

§supports_log_points: Option<bool>

The debug adapter supports logpoints by interpreting the ‘logMessage’ attribute of the SourceBreakpoint.

§supports_modules_request: Option<bool>

The debug adapter supports the ‘modules’ request.

§supports_restart_frame: Option<bool>

The debug adapter supports restarting a frame.

§supports_restart_request: Option<bool>

The 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_set_expression: Option<bool>

The debug adapter supports the ‘setExpression’ request.

§supports_set_variable: Option<bool>

The debug adapter supports setting a variable to a value.

§supports_step_back: Option<bool>

The debug adapter supports stepping back via the ‘stepBack’ and ‘reverseContinue’ requests.

§supports_step_in_targets_request: Option<bool>

The debug adapter supports the ‘stepInTargets’ request.

§supports_terminate_request: Option<bool>

The debug adapter supports the ‘terminate’ request.

§supports_terminate_threads_request: Option<bool>

The debug adapter supports the ‘terminateThreads’ request.

§supports_value_formatting_options: Option<bool>

The debug adapter supports a ‘format’ attribute on the stackTraceRequest, variablesRequest, and evaluateRequest.

Trait Implementations§

Source§

impl Clone for Capabilities

Source§

fn clone(&self) -> Capabilities

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Capabilities

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Capabilities

Source§

fn default() -> Capabilities

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Capabilities

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Capabilities

Source§

fn eq(&self, other: &Capabilities) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Capabilities

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Capabilities

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,