Trait DebugAdapterContext

Source
pub trait DebugAdapterContext {
    // Required methods
    fn fire_event(&mut self, event: impl Into<Event> + Send);
    fn start_cancellable_progress(
        &mut self,
        title: String,
        message: Option<String>,
    ) -> ProgressContext;
    fn end_cancellable_progress(
        &mut self,
        progress_id: String,
        message: Option<String>,
    );
    fn shutdown(&mut self);
}

Required Methods§

Source

fn fire_event(&mut self, event: impl Into<Event> + Send)

Source

fn start_cancellable_progress( &mut self, title: String, message: Option<String>, ) -> ProgressContext

Source

fn end_cancellable_progress( &mut self, progress_id: String, message: Option<String>, )

Source

fn shutdown(&mut self)

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§