Trait DebugAdapter

Source
pub trait DebugAdapter {
    type Message: Send + 'static;
    type CustomError;

Show 19 methods // Required method fn continue_<'life0, 'async_trait>( &'life0 mut self, _args: ContinueRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<ContinueResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; // Provided methods fn map_custom_error(e: Self::CustomError) -> RequestError<Self::CustomError> { ... } fn handle_other_message<'life0, 'async_trait>( &'life0 mut self, _message: Self::Message, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), Self::CustomError>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn handle_client_request<'life0, 'async_trait>( &'life0 mut self, request: Request, context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<SuccessResponse, RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn configuration_done<'life0, 'async_trait>( &'life0 mut self, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn disconnect<'life0, 'async_trait>( &'life0 mut self, _args: DisconnectRequestArguments, context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn evaluate<'life0, 'async_trait>( &'life0 mut self, _args: EvaluateRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<EvaluateResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn initialize<'life0, 'async_trait>( &'life0 mut self, _args: InitializeRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<Capabilities, RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn launch<'life0, 'async_trait>( &'life0 mut self, _args: LaunchRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn next<'life0, 'async_trait>( &'life0 mut self, _args: NextRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn pause<'life0, 'async_trait>( &'life0 mut self, _args: PauseRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn scopes<'life0, 'async_trait>( &'life0 mut self, _args: ScopesRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<ScopesResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn set_breakpoints<'life0, 'async_trait>( &'life0 mut self, _args: SetBreakpointsRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<SetBreakpointsResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn stack_trace<'life0, 'async_trait>( &'life0 mut self, _args: StackTraceRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<StackTraceResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn step_in<'life0, 'async_trait>( &'life0 mut self, _args: StepInRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn step_out<'life0, 'async_trait>( &'life0 mut self, _args: StepOutRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn terminate<'life0, 'async_trait>( &'life0 mut self, _args: TerminateRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn threads<'life0, 'async_trait>( &'life0 mut self, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<ThreadsResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } fn variables<'life0, 'async_trait>( &'life0 mut self, _args: VariablesRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<VariablesResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... }
}

Required Associated Types§

Required Methods§

Source

fn continue_<'life0, 'async_trait>( &'life0 mut self, _args: ContinueRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<ContinueResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Provided Methods§

Source

fn map_custom_error(e: Self::CustomError) -> RequestError<Self::CustomError>

Source

fn handle_other_message<'life0, 'async_trait>( &'life0 mut self, _message: Self::Message, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), Self::CustomError>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn handle_client_request<'life0, 'async_trait>( &'life0 mut self, request: Request, context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<SuccessResponse, RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn configuration_done<'life0, 'async_trait>( &'life0 mut self, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn disconnect<'life0, 'async_trait>( &'life0 mut self, _args: DisconnectRequestArguments, context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn evaluate<'life0, 'async_trait>( &'life0 mut self, _args: EvaluateRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<EvaluateResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn initialize<'life0, 'async_trait>( &'life0 mut self, _args: InitializeRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<Capabilities, RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn launch<'life0, 'async_trait>( &'life0 mut self, _args: LaunchRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn next<'life0, 'async_trait>( &'life0 mut self, _args: NextRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn pause<'life0, 'async_trait>( &'life0 mut self, _args: PauseRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn scopes<'life0, 'async_trait>( &'life0 mut self, _args: ScopesRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<ScopesResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn set_breakpoints<'life0, 'async_trait>( &'life0 mut self, _args: SetBreakpointsRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<SetBreakpointsResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn stack_trace<'life0, 'async_trait>( &'life0 mut self, _args: StackTraceRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<StackTraceResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn step_in<'life0, 'async_trait>( &'life0 mut self, _args: StepInRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn step_out<'life0, 'async_trait>( &'life0 mut self, _args: StepOutRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn terminate<'life0, 'async_trait>( &'life0 mut self, _args: TerminateRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn threads<'life0, 'async_trait>( &'life0 mut self, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<ThreadsResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Source

fn variables<'life0, 'async_trait>( &'life0 mut self, _args: VariablesRequestArguments, _context: impl 'async_trait + DebugAdapterContext + Send, ) -> Pin<Box<dyn Future<Output = Result<VariablesResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§