pub struct CocoonServiceImpl {
environment: Arc<MountainEnvironment>,
ActiveOperations: Arc<RwLock<HashMap<u64, CancellationToken>>>,
}Expand description
Implementation of the CocoonService gRPC server
This struct handles all incoming requests from the Cocoon extension host sidecar and dispatches them to the appropriate Mountain services.
Fields§
§environment: Arc<MountainEnvironment>Mountain environment providing access to all services
ActiveOperations: Arc<RwLock<HashMap<u64, CancellationToken>>>Registry of active operations with their cancellation tokens Maps request ID to cancellation token for operation cancellation
Implementations§
Source§impl CocoonServiceImpl
impl CocoonServiceImpl
Sourcepub fn new(environment: Arc<MountainEnvironment>) -> Self
pub fn new(environment: Arc<MountainEnvironment>) -> Self
Sourcepub async fn RegisterOperation(&self, request_id: u64) -> CancellationToken
pub async fn RegisterOperation(&self, request_id: u64) -> CancellationToken
Sourcepub async fn UnregisterOperation(&self, request_id: u64)
pub async fn UnregisterOperation(&self, request_id: u64)
Unregisters an operation after completion
§Parameters
request_id: The request identifier to unregister
Sourcefn RegisterProvider(
&self,
handle: u32,
provider_type: ProviderType,
language_selector: &str,
extension_id: &str,
)
fn RegisterProvider( &self, handle: u32, provider_type: ProviderType, language_selector: &str, extension_id: &str, )
Registers a language feature provider in ApplicationState.
Converts the gRPC request fields into a ProviderRegistrationDTO and
stores it in ApplicationState.Extension.ProviderRegistration.
§Parameters
handle: Unique provider handleprovider_type: The type of language featurelanguage_selector: Language scope (e.g. “typescript”)extension_id: Extension that registered this provider
Trait Implementations§
Source§impl Clone for CocoonServiceImpl
impl Clone for CocoonServiceImpl
Source§fn clone(&self) -> CocoonServiceImpl
fn clone(&self) -> CocoonServiceImpl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl CocoonService for CocoonServiceImpl
impl CocoonService for CocoonServiceImpl
Source§fn process_mountain_request<'life0, 'async_trait>(
&'life0 self,
request: Request<GenericRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenericResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn process_mountain_request<'life0, 'async_trait>(
&'life0 self,
request: Request<GenericRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenericResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Process Mountain requests from Cocoon (generic request-response).
Routes legacy fs.* / commands.* / secrets.* method names used by
Cocoon’s FileSystemService and other services that call Mountain via
the generic ProcessCocoonRequest RPC instead of the typed methods.
Parameters are JSON-encoded bytes in request.parameter. Results are
JSON-encoded bytes in response.result.
Source§fn send_mountain_notification<'life0, 'async_trait>(
&'life0 self,
request: Request<GenericNotification>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_mountain_notification<'life0, 'async_trait>(
&'life0 self,
request: Request<GenericNotification>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send Mountain notifications to Cocoon (generic fire-and-forget)
Routes by notification.method string to the appropriate Mountain
handler. Called by Cocoon’s
MountainGRPCClient.sendNotification(method, params).
Source§fn cancel_operation<'life0, 'async_trait>(
&'life0 self,
request: Request<CancelOperationRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn cancel_operation<'life0, 'async_trait>(
&'life0 self,
request: Request<CancelOperationRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Cancel operations requested by Mountain
Source§fn initial_handshake<'life0, 'async_trait>(
&'life0 self,
_request: Request<Empty>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn initial_handshake<'life0, 'async_trait>(
&'life0 self,
_request: Request<Empty>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handshake - Called by Cocoon to signal readiness
Source§fn init_extension_host<'life0, 'async_trait>(
&'life0 self,
request: Request<InitExtensionHostRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn init_extension_host<'life0, 'async_trait>(
&'life0 self,
request: Request<InitExtensionHostRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Initialize Extension Host - Mountain sends initialization data to Cocoon
Source§fn register_command<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterCommandRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_command<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterCommandRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Register Command - Cocoon registers an extension command
Source§fn execute_contributed_command<'life0, 'async_trait>(
&'life0 self,
request: Request<ExecuteCommandRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ExecuteCommandResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_contributed_command<'life0, 'async_trait>(
&'life0 self,
request: Request<ExecuteCommandRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ExecuteCommandResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute Contributed Command - Mountain executes an extension command
Source§fn unregister_command<'life0, 'async_trait>(
&'life0 self,
request: Request<UnregisterCommandRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unregister_command<'life0, 'async_trait>(
&'life0 self,
request: Request<UnregisterCommandRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Unregister Command - Unregister a previously registered command
Source§fn register_hover_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_hover_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Register Hover Provider - Register a hover provider
Source§fn provide_hover<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideHoverRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideHoverResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_hover<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideHoverRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideHoverResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provide Hover - Request hover information
Delegates to LanguageFeatureProviderRegistry::ProvideHover which:
- Looks up the matching provider in ProviderRegistration by document URI
- Forwards to Cocoon via generic gRPC ($provideHover)
- Cocoon’s InvokeLanguageProvider calls the JS extension provider
- Result bubbles back through the chain
Source§fn register_completion_item_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_completion_item_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Register Completion Item Provider - Register a completion provider
Source§fn provide_completion_items<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideCompletionItemsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideCompletionItemsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_completion_items<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideCompletionItemsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideCompletionItemsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provide Completion Items - delegates to LanguageFeatureProviderRegistry
Source§fn register_definition_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_definition_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Register Definition Provider - Register a definition provider
Source§fn provide_definition<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideDefinitionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideDefinitionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_definition<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideDefinitionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideDefinitionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provide Definition - delegates to LanguageFeatureProviderRegistry
Source§fn register_reference_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_reference_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Register Reference Provider - Register a reference provider
Source§fn provide_references<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideReferencesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideReferencesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_references<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideReferencesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideReferencesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provide References - delegates to LanguageFeatureProviderRegistry
Source§fn register_code_actions_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_code_actions_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Register Code Actions Provider - Register code actions provider
Source§fn provide_code_actions<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideCodeActionsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideCodeActionsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_code_actions<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideCodeActionsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideCodeActionsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provide Code Actions - delegates to LanguageFeatureProviderRegistry
Source§fn show_text_document<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowTextDocumentRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowTextDocumentResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn show_text_document<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowTextDocumentRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowTextDocumentResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Show Text Document - emit a Tauri event so Sky opens the document tab.
Source§fn show_information_message<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowMessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowMessageResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn show_information_message<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowMessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowMessageResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Show Information Message - delegate to UserInterfaceProvider::ShowMessage.
Source§fn show_warning_message<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowMessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowMessageResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn show_warning_message<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowMessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowMessageResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Show Warning Message - delegate to UserInterfaceProvider::ShowMessage.
Source§fn show_error_message<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowMessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowMessageResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn show_error_message<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowMessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowMessageResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Show Error Message - delegate to UserInterfaceProvider::ShowMessage.
Source§fn create_status_bar_item<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateStatusBarItemRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateStatusBarItemResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_status_bar_item<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateStatusBarItemRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateStatusBarItemResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Create Status Bar Item - emit Tauri event for Sky to render status bar entry.
Source§fn set_status_bar_text<'life0, 'async_trait>(
&'life0 self,
request: Request<SetStatusBarTextRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_status_bar_text<'life0, 'async_trait>(
&'life0 self,
request: Request<SetStatusBarTextRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Set Status Bar Text - emit Tauri event for Sky status bar update.
Source§fn create_webview_panel<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateWebviewPanelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateWebviewPanelResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_webview_panel<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateWebviewPanelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateWebviewPanelResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Create Webview Panel - Generate handle, emit creation event to Sky
Source§fn set_webview_html<'life0, 'async_trait>(
&'life0 self,
request: Request<SetWebviewHtmlRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_webview_html<'life0, 'async_trait>(
&'life0 self,
request: Request<SetWebviewHtmlRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Set Webview HTML - Send HTML update to Sky via Tauri event
Source§fn on_did_receive_message<'life0, 'async_trait>(
&'life0 self,
request: Request<OnDidReceiveMessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn on_did_receive_message<'life0, 'async_trait>(
&'life0 self,
request: Request<OnDidReceiveMessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
On Did Receive Message - Forward webview message to Cocoon via Tauri event
Source§fn read_file<'life0, 'async_trait>(
&'life0 self,
request: Request<ReadFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReadFileResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_file<'life0, 'async_trait>(
&'life0 self,
request: Request<ReadFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReadFileResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Read File - Read file contents
Source§fn write_file<'life0, 'async_trait>(
&'life0 self,
request: Request<WriteFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn write_file<'life0, 'async_trait>(
&'life0 self,
request: Request<WriteFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Write File - Write file contents
Source§fn stat<'life0, 'async_trait>(
&'life0 self,
request: Request<StatRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<StatResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn stat<'life0, 'async_trait>(
&'life0 self,
request: Request<StatRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<StatResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Stat - Get file metadata
Source§fn readdir<'life0, 'async_trait>(
&'life0 self,
request: Request<ReaddirRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReaddirResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn readdir<'life0, 'async_trait>(
&'life0 self,
request: Request<ReaddirRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReaddirResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Read Directory - List directory contents
Source§fn watch_file<'life0, 'async_trait>(
&'life0 self,
request: Request<WatchFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn watch_file<'life0, 'async_trait>(
&'life0 self,
request: Request<WatchFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Watch File - Watch file for changes
Logs the watch request. Full inotify/FSEvents integration is a P1 task
requiring the notify crate wired into ApplicationState.
Source§fn find_files<'life0, 'async_trait>(
&'life0 self,
request: Request<FindFilesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<FindFilesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn find_files<'life0, 'async_trait>(
&'life0 self,
request: Request<FindFilesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<FindFilesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Find Files - Search for files using glob pattern across workspace folders.
Source§fn find_text_in_files<'life0, 'async_trait>(
&'life0 self,
request: Request<FindTextInFilesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<FindTextInFilesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn find_text_in_files<'life0, 'async_trait>(
&'life0 self,
request: Request<FindTextInFilesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<FindTextInFilesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Find Text in Files - walk workspace and grep for pattern.
Uses a simple line-by-line scan (not indexed). Returns up to 1000 matches. Indexing integration is a P2 task.
Source§fn open_document<'life0, 'async_trait>(
&'life0 self,
request: Request<OpenDocumentRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<OpenDocumentResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn open_document<'life0, 'async_trait>(
&'life0 self,
request: Request<OpenDocumentRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<OpenDocumentResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Open Document - emit Tauri event for Sky to open the editor tab.
Source§fn save_all<'life0, 'async_trait>(
&'life0 self,
request: Request<SaveAllRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SaveAllResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn save_all<'life0, 'async_trait>(
&'life0 self,
request: Request<SaveAllRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SaveAllResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Save All - emit Tauri event for Sky to save all open documents.
Source§fn apply_edit<'life0, 'async_trait>(
&'life0 self,
request: Request<ApplyEditRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ApplyEditResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn apply_edit<'life0, 'async_trait>(
&'life0 self,
request: Request<ApplyEditRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ApplyEditResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Apply Edit - emit Tauri event for Sky to apply text edits in the editor.
Source§fn update_configuration<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateConfigurationRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_configuration<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateConfigurationRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Update Configuration - Notify Sky of configuration changes via Tauri event
Source§fn update_workspace_folders<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateWorkspaceFoldersRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_workspace_folders<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateWorkspaceFoldersRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Update Workspace Folders - Update workspace folders
Source§fn open_terminal<'life0, 'async_trait>(
&'life0 self,
request: Request<OpenTerminalRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn open_terminal<'life0, 'async_trait>(
&'life0 self,
request: Request<OpenTerminalRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Open Terminal - create PTY via TerminalProvider and return the terminal ID.
Source§fn terminal_input<'life0, 'async_trait>(
&'life0 self,
request: Request<TerminalInputRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn terminal_input<'life0, 'async_trait>(
&'life0 self,
request: Request<TerminalInputRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Terminal Input - write bytes to PTY stdin via TerminalProvider.
Source§fn close_terminal<'life0, 'async_trait>(
&'life0 self,
request: Request<CloseTerminalRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn close_terminal<'life0, 'async_trait>(
&'life0 self,
request: Request<CloseTerminalRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Close Terminal - dispose PTY and cleanup resources via TerminalProvider.
Source§fn accept_terminal_opened<'life0, 'async_trait>(
&'life0 self,
request: Request<TerminalOpenedNotification>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn accept_terminal_opened<'life0, 'async_trait>(
&'life0 self,
request: Request<TerminalOpenedNotification>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Accept Terminal Opened - Notification: Terminal opened
Source§fn accept_terminal_closed<'life0, 'async_trait>(
&'life0 self,
request: Request<TerminalClosedNotification>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn accept_terminal_closed<'life0, 'async_trait>(
&'life0 self,
request: Request<TerminalClosedNotification>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Accept Terminal Closed - Forward close event to Sky
Source§fn accept_terminal_process_id<'life0, 'async_trait>(
&'life0 self,
request: Request<TerminalProcessIdNotification>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn accept_terminal_process_id<'life0, 'async_trait>(
&'life0 self,
request: Request<TerminalProcessIdNotification>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Accept Terminal Process ID - Forward PID to Sky
Source§fn accept_terminal_process_data<'life0, 'async_trait>(
&'life0 self,
request: Request<TerminalDataNotification>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn accept_terminal_process_data<'life0, 'async_trait>(
&'life0 self,
request: Request<TerminalDataNotification>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Accept Terminal Process Data - Stream output to Sky via Tauri event
Source§fn register_tree_view_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterTreeViewProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_tree_view_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterTreeViewProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Register Tree View Provider - Register a tree view provider
Source§fn get_tree_children<'life0, 'async_trait>(
&'life0 self,
request: Request<GetTreeChildrenRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetTreeChildrenResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_tree_children<'life0, 'async_trait>(
&'life0 self,
request: Request<GetTreeChildrenRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetTreeChildrenResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Tree Children - Request tree view children from registered provider
Source§fn register_scm_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterScmProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_scm_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterScmProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Register SCM Provider - Register source control provider
Source§fn update_scm_group<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateScmGroupRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_scm_group<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateScmGroupRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Update SCM Group - Forward resource state changes to Sky
Source§fn git_exec<'life0, 'async_trait>(
&'life0 self,
request: Request<GitExecRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GitExecResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn git_exec<'life0, 'async_trait>(
&'life0 self,
request: Request<GitExecRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GitExecResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute Git - Spawn native git process with provided arguments.
Runs git in the repository directory supplied by the extension host,
captures stdout/stderr, and returns the raw bytes. Mirrors VS Code’s
$gitExec IPC call used by the built-in Git extension.
Source§fn register_debug_adapter<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterDebugAdapterRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_debug_adapter<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterDebugAdapterRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Register Debug Adapter - Register debug adapter
Source§fn start_debugging<'life0, 'async_trait>(
&'life0 self,
request: Request<StartDebuggingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<StartDebuggingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn start_debugging<'life0, 'async_trait>(
&'life0 self,
request: Request<StartDebuggingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<StartDebuggingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Start Debugging - Emit debug start event to Sky, return session ID
Source§fn participate_in_save<'life0, 'async_trait>(
&'life0 self,
request: Request<ParticipateInSaveRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ParticipateInSaveResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn participate_in_save<'life0, 'async_trait>(
&'life0 self,
request: Request<ParticipateInSaveRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ParticipateInSaveResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Participate in Save - Extension participates in save
Source§fn get_secret<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSecretRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSecretResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_secret<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSecretRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSecretResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Secret - retrieve from the OS keychain via SecretProvider.
Source§fn store_secret<'life0, 'async_trait>(
&'life0 self,
request: Request<StoreSecretRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn store_secret<'life0, 'async_trait>(
&'life0 self,
request: Request<StoreSecretRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Store Secret - persist to the OS keychain via SecretProvider.
Source§fn delete_secret<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteSecretRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_secret<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteSecretRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Delete Secret - remove from the OS keychain via SecretProvider.
Source§fn register_document_highlight_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_document_highlight_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Document Highlight Provider - Register
Source§fn provide_document_highlights<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideDocumentHighlightsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideDocumentHighlightsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_document_highlights<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideDocumentHighlightsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideDocumentHighlightsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
document highlights - delegates to LanguageFeatureProviderRegistry
Source§fn register_document_symbol_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_document_symbol_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Document Symbol Provider - Register
Source§fn provide_document_symbols<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideDocumentSymbolsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideDocumentSymbolsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_document_symbols<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideDocumentSymbolsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideDocumentSymbolsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
document symbols - delegates to LanguageFeatureProviderRegistry
Source§fn register_workspace_symbol_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_workspace_symbol_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Workspace Symbol Provider - Register
Source§fn provide_workspace_symbols<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideWorkspaceSymbolsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideWorkspaceSymbolsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_workspace_symbols<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideWorkspaceSymbolsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideWorkspaceSymbolsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
workspace symbols - delegates to LanguageFeatureProviderRegistry
Source§fn register_rename_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_rename_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Rename Provider - Register
Source§fn provide_rename_edits<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideRenameEditsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideRenameEditsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_rename_edits<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideRenameEditsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideRenameEditsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
rename edits - delegates to LanguageFeatureProviderRegistry
Source§fn register_document_formatting_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_document_formatting_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Document Formatting Provider - Register
Source§fn provide_document_formatting<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideDocumentFormattingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideDocumentFormattingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_document_formatting<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideDocumentFormattingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideDocumentFormattingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
document formatting - delegates to LanguageFeatureProviderRegistry
Source§fn register_document_range_formatting_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_document_range_formatting_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Document Range Formatting Provider - Register
Source§fn provide_document_range_formatting<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideDocumentRangeFormattingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideDocumentRangeFormattingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_document_range_formatting<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideDocumentRangeFormattingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideDocumentRangeFormattingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
document range formatting - delegates to LanguageFeatureProviderRegistry
Source§fn register_on_type_formatting_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterOnTypeFormattingProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_on_type_formatting_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterOnTypeFormattingProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
On Type Formatting Provider - Register
Source§fn provide_on_type_formatting<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideOnTypeFormattingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideOnTypeFormattingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_on_type_formatting<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideOnTypeFormattingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideOnTypeFormattingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
on-type formatting - delegates to LanguageFeatureProviderRegistry
Source§fn register_signature_help_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterSignatureHelpProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_signature_help_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterSignatureHelpProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Signature Help Provider - Register
Source§fn provide_signature_help<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideSignatureHelpRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideSignatureHelpResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_signature_help<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideSignatureHelpRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideSignatureHelpResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
signature help - delegates to LanguageFeatureProviderRegistry
Source§fn register_code_lens_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_code_lens_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Code Lens Provider - Register
Source§fn provide_code_lenses<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideCodeLensesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideCodeLensesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_code_lenses<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideCodeLensesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideCodeLensesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
code lenses - delegates to LanguageFeatureProviderRegistry
Source§fn register_folding_range_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_folding_range_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Folding Range Provider - Register
Source§fn provide_folding_ranges<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideFoldingRangesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideFoldingRangesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_folding_ranges<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideFoldingRangesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideFoldingRangesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
folding ranges - delegates to LanguageFeatureProviderRegistry
Source§fn register_selection_range_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_selection_range_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Selection Range Provider - Register
Source§fn provide_selection_ranges<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideSelectionRangesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideSelectionRangesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_selection_ranges<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideSelectionRangesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideSelectionRangesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
selection ranges - delegates to LanguageFeatureProviderRegistry
Source§fn register_semantic_tokens_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterSemanticTokensProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_semantic_tokens_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterSemanticTokensProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Semantic Tokens Provider - Register
Source§fn provide_semantic_tokens_full<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideSemanticTokensRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideSemanticTokensResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_semantic_tokens_full<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideSemanticTokensRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideSemanticTokensResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
semantic tokens - delegates to LanguageFeatureProviderRegistry
Source§fn register_inlay_hints_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_inlay_hints_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Inlay Hints Provider - Register
Source§fn provide_inlay_hints<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideInlayHintsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideInlayHintsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_inlay_hints<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideInlayHintsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideInlayHintsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
inlay hints - delegates to LanguageFeatureProviderRegistry
Source§fn register_type_hierarchy_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_type_hierarchy_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Type Hierarchy Provider - Register
Source§fn provide_type_hierarchy_supertypes<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideTypeHierarchyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideTypeHierarchyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_type_hierarchy_supertypes<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideTypeHierarchyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideTypeHierarchyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
type hierarchy supertypes - delegates to LanguageFeatureProviderRegistry
Source§fn provide_type_hierarchy_subtypes<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideTypeHierarchyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideTypeHierarchyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_type_hierarchy_subtypes<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideTypeHierarchyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideTypeHierarchyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
type hierarchy subtypes - delegates to LanguageFeatureProviderRegistry
Source§fn register_call_hierarchy_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_call_hierarchy_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Call Hierarchy Provider - Register
Source§fn provide_call_hierarchy_incoming_calls<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideCallHierarchyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideCallHierarchyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_call_hierarchy_incoming_calls<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideCallHierarchyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideCallHierarchyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
call hierarchy incoming - delegates to LanguageFeatureProviderRegistry
Source§fn provide_call_hierarchy_outgoing_calls<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideCallHierarchyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideCallHierarchyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_call_hierarchy_outgoing_calls<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideCallHierarchyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideCallHierarchyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
call hierarchy outgoing - delegates to LanguageFeatureProviderRegistry
Source§fn register_linked_editing_range_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_linked_editing_range_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Linked Editing Range Provider - Register
Source§fn provide_linked_editing_ranges<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideLinkedEditingRangesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideLinkedEditingRangesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn provide_linked_editing_ranges<'life0, 'async_trait>(
&'life0 self,
request: Request<ProvideLinkedEditingRangesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProvideLinkedEditingRangesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
linked editing ranges - delegates to LanguageFeatureProviderRegistry
Source§fn show_quick_pick<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowQuickPickRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowQuickPickResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn show_quick_pick<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowQuickPickRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowQuickPickResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Show Quick Pick - present a selection list via UserInterfaceProvider.
Source§fn show_input_box<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowInputBoxRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowInputBoxResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn show_input_box<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowInputBoxRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowInputBoxResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Show Input Box - present a text entry dialog via UserInterfaceProvider.
Source§fn show_progress<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowProgressRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowProgressResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn show_progress<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowProgressRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowProgressResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
progress - emit start event to Sky for progress indicator
Source§fn report_progress<'life0, 'async_trait>(
&'life0 self,
request: Request<ReportProgressRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn report_progress<'life0, 'async_trait>(
&'life0 self,
request: Request<ReportProgressRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
progress report - emit update event to Sky
Source§fn post_webview_message<'life0, 'async_trait>(
&'life0 self,
request: Request<PostWebviewMessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn post_webview_message<'life0, 'async_trait>(
&'life0 self,
request: Request<PostWebviewMessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
webview message - forward to Sky for webview panel message delivery
Source§fn dispose_webview_panel<'life0, 'async_trait>(
&'life0 self,
request: Request<DisposeWebviewPanelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dispose_webview_panel<'life0, 'async_trait>(
&'life0 self,
request: Request<DisposeWebviewPanelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
webview dispose - emit dispose event to Sky
Source§fn open_external<'life0, 'async_trait>(
&'life0 self,
request: Request<OpenExternalRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn open_external<'life0, 'async_trait>(
&'life0 self,
request: Request<OpenExternalRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
external URI - open URL via Tauri shell plugin
Source§fn delete_file<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_file<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
file delete
Source§fn rename_file<'life0, 'async_trait>(
&'life0 self,
request: Request<RenameFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn rename_file<'life0, 'async_trait>(
&'life0 self,
request: Request<RenameFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
file rename (move)
Source§fn copy_file<'life0, 'async_trait>(
&'life0 self,
request: Request<CopyFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn copy_file<'life0, 'async_trait>(
&'life0 self,
request: Request<CopyFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
file copy
Source§fn create_directory<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateDirectoryRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_directory<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateDirectoryRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
directory creation
Source§fn create_output_channel<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateOutputChannelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateOutputChannelResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_output_channel<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateOutputChannelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateOutputChannelResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Create output channel - notify Sky to create a named output panel.
Source§fn append_output<'life0, 'async_trait>(
&'life0 self,
request: Request<AppendOutputRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn append_output<'life0, 'async_trait>(
&'life0 self,
request: Request<AppendOutputRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Append text to an output channel panel.
Source§fn clear_output<'life0, 'async_trait>(
&'life0 self,
request: Request<ClearOutputRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn clear_output<'life0, 'async_trait>(
&'life0 self,
request: Request<ClearOutputRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Clear an output channel panel.
Source§fn show_output<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowOutputRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn show_output<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowOutputRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Show an output channel panel.
Source§fn dispose_output<'life0, 'async_trait>(
&'life0 self,
request: Request<DisposeOutputRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dispose_output<'life0, 'async_trait>(
&'life0 self,
request: Request<DisposeOutputRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Dispose an output channel (no cleanup needed; Sky removes the panel on demand).
Source§fn register_task_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterTaskProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_task_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterTaskProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Task Provider - Register in ApplicationState for provider lookup
Source§fn execute_task<'life0, 'async_trait>(
&'life0 self,
request: Request<ExecuteTaskRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ExecuteTaskResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_task<'life0, 'async_trait>(
&'life0 self,
request: Request<ExecuteTaskRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ExecuteTaskResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
task execution - forward to Sky via Tauri event
Source§fn terminate_task<'life0, 'async_trait>(
&'life0 self,
request: Request<TerminateTaskRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn terminate_task<'life0, 'async_trait>(
&'life0 self,
request: Request<TerminateTaskRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
task termination - signal the running task to stop
Source§fn get_authentication_session<'life0, 'async_trait>(
&'life0 self,
request: Request<GetAuthenticationSessionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetAuthenticationSessionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_authentication_session<'life0, 'async_trait>(
&'life0 self,
request: Request<GetAuthenticationSessionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetAuthenticationSessionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
authentication session - retrieve or create an auth session
Source§fn register_authentication_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterAuthenticationProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_authentication_provider<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterAuthenticationProviderRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Authentication Provider - Register in ApplicationState
Source§fn stop_debugging<'life0, 'async_trait>(
&'life0 self,
request: Request<StopDebuggingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn stop_debugging<'life0, 'async_trait>(
&'life0 self,
request: Request<StopDebuggingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
debug stop - signal the debug adapter to terminate
Source§fn get_extension<'life0, 'async_trait>(
&'life0 self,
request: Request<GetExtensionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetExtensionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_extension<'life0, 'async_trait>(
&'life0 self,
request: Request<GetExtensionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetExtensionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
extension info - look up a single extension by ID in ApplicationState
Source§fn get_all_extensions<'life0, 'async_trait>(
&'life0 self,
request: Request<Empty>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetAllExtensionsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_all_extensions<'life0, 'async_trait>(
&'life0 self,
request: Request<Empty>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetAllExtensionsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
all extensions - return all scanned extensions from ApplicationState
Source§fn resize_terminal<'life0, 'async_trait>(
&'life0 self,
request: Request<ResizeTerminalRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn resize_terminal<'life0, 'async_trait>(
&'life0 self,
request: Request<ResizeTerminalRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Terminal Resize - emit a Tauri event so Sky can resize the xterm view.
PTY-level resize (via portable_pty::MasterPty::resize) is a P1 task
that requires storing the PTY master handle in TerminalStateDTO.
The Tauri event lets the UI immediately resize its canvas.
Source§fn get_configuration<'life0, 'async_trait>(
&'life0 self,
request: Request<GetConfigurationRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetConfigurationResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_configuration<'life0, 'async_trait>(
&'life0 self,
request: Request<GetConfigurationRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetConfigurationResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Configuration - retrieve a configuration value from ConfigurationProvider.
Auto Trait Implementations§
impl Freeze for CocoonServiceImpl
impl !RefUnwindSafe for CocoonServiceImpl
impl Send for CocoonServiceImpl
impl Sync for CocoonServiceImpl
impl Unpin for CocoonServiceImpl
impl UnsafeUnpin for CocoonServiceImpl
impl !UnwindSafe for CocoonServiceImpl
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].