pub struct MountainEnvironment {
pub ApplicationHandle: AppHandle<Wry>,
pub ApplicationState: Arc<ApplicationState>,
pub AirClient: Option<AirServiceClient<Channel>>,
}Expand description
The concrete Environment for the Mountain application.
Fields§
§ApplicationHandle: AppHandle<Wry>§ApplicationState: Arc<ApplicationState>§AirClient: Option<AirServiceClient<Channel>>Optional Air client for cloud-based services. When provided, providers like SecretProvider and UpdateService can delegate to Air.
Implementations§
Source§impl MountainEnvironment
impl MountainEnvironment
Sourcepub fn Create(
ApplicationHandle: AppHandle<Wry>,
ApplicationState: Arc<ApplicationState>,
) -> Self
pub fn Create( ApplicationHandle: AppHandle<Wry>, ApplicationState: Arc<ApplicationState>, ) -> Self
Creates a new MountainEnvironment instance.
Sourcepub fn CreateWithAir(
ApplicationHandle: AppHandle<Wry>,
ApplicationState: Arc<ApplicationState>,
AirClient: Option<AirServiceClient<Channel>>,
) -> Self
pub fn CreateWithAir( ApplicationHandle: AppHandle<Wry>, ApplicationState: Arc<ApplicationState>, AirClient: Option<AirServiceClient<Channel>>, ) -> Self
Creates a new MountainEnvironment instance with an optional Air
client. When AirClient is provided, providers can delegate to Air for
cloud-based services.
Sourcepub fn SetAirClient(&mut self, AirClient: Option<AirServiceClient<Channel>>)
pub fn SetAirClient(&mut self, AirClient: Option<AirServiceClient<Channel>>)
Updates the Air client for this environment. This allows dynamically switching between Air and local services.
Sourcepub async fn IsAirAvailable(&self) -> bool
pub async fn IsAirAvailable(&self) -> bool
Returns whether Air is available and ready.
Sourceasync fn ScanExtensionDirectory(
&self,
path: &PathBuf,
) -> Result<Vec<Value>, CommonError>
async fn ScanExtensionDirectory( &self, path: &PathBuf, ) -> Result<Vec<Value>, CommonError>
Scans a directory for extensions and returns their package.json data
Source§impl MountainEnvironment
impl MountainEnvironment
Sourceasync fn RunProxiedTests(
&self,
SideCarIdentifier: &str,
RunIdentifier: &str,
TestRunRequest: Value,
) -> Result<(), CommonError>
async fn RunProxiedTests( &self, SideCarIdentifier: &str, RunIdentifier: &str, TestRunRequest: Value, ) -> Result<(), CommonError>
Runs tests via a proxied sidecar test controller.
Sourceasync fn UpdateRunStatus(
&self,
RunIdentifier: &str,
Status: TestRunStatus,
) -> Result<(), CommonError>
async fn UpdateRunStatus( &self, RunIdentifier: &str, Status: TestRunStatus, ) -> Result<(), CommonError>
Updates the status of a test run and notifies the frontend.
Sourceasync fn StoreTestResults(
&self,
RunIdentifier: &str,
Results: Vec<TestResult>,
) -> Result<(), CommonError>
async fn StoreTestResults( &self, RunIdentifier: &str, Results: Vec<TestResult>, ) -> Result<(), CommonError>
Stores test results for a test run.
Sourceasync fn CalculateRunStatus(&self, RunIdentifier: &str) -> TestRunStatus
async fn CalculateRunStatus(&self, RunIdentifier: &str) -> TestRunStatus
Calculates the final status of a test run based on its results.
Trait Implementations§
Source§impl Clone for MountainEnvironment
impl Clone for MountainEnvironment
Source§fn clone(&self) -> MountainEnvironment
fn clone(&self) -> MountainEnvironment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl CommandExecutor for MountainEnvironment
impl CommandExecutor for MountainEnvironment
Source§fn ExecuteCommand<'life0, 'async_trait>(
&'life0 self,
CommandIdentifier: String,
Argument: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ExecuteCommand<'life0, 'async_trait>(
&'life0 self,
CommandIdentifier: String,
Argument: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Executes a registered command by dispatching it to the appropriate handler.
Source§fn RegisterCommand<'life0, 'async_trait>(
&'life0 self,
SideCarIdentifier: String,
CommandIdentifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RegisterCommand<'life0, 'async_trait>(
&'life0 self,
SideCarIdentifier: String,
CommandIdentifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Registers a command contributed by a sidecar process.
Source§impl ConfigurationInspector for MountainEnvironment
impl ConfigurationInspector for MountainEnvironment
Source§fn InspectConfigurationValue<'life0, 'async_trait>(
&'life0 self,
Key: String,
Overrides: ConfigurationOverridesDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<InspectResultDataDTO>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn InspectConfigurationValue<'life0, 'async_trait>(
&'life0 self,
Key: String,
Overrides: ConfigurationOverridesDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<InspectResultDataDTO>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl ConfigurationProvider for MountainEnvironment
impl ConfigurationProvider for MountainEnvironment
Source§fn GetConfigurationValue<'life0, 'async_trait>(
&'life0 self,
Section: Option<String>,
Overrides: ConfigurationOverridesDTO,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetConfigurationValue<'life0, 'async_trait>(
&'life0 self,
Section: Option<String>,
Overrides: ConfigurationOverridesDTO,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn UpdateConfigurationValue<'life0, 'async_trait>(
&'life0 self,
Key: String,
Value: Value,
Target: ConfigurationTarget,
Overrides: ConfigurationOverridesDTO,
ScopeToLanguage: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn UpdateConfigurationValue<'life0, 'async_trait>(
&'life0 self,
Key: String,
Value: Value,
Target: ConfigurationTarget,
Overrides: ConfigurationOverridesDTO,
ScopeToLanguage: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl CustomEditorProvider for MountainEnvironment
impl CustomEditorProvider for MountainEnvironment
Source§fn RegisterCustomEditorProvider<'life0, 'async_trait>(
&'life0 self,
ViewType: String,
_Options: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RegisterCustomEditorProvider<'life0, 'async_trait>(
&'life0 self,
ViewType: String,
_Options: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn UnregisterCustomEditorProvider<'life0, 'async_trait>(
&'life0 self,
ViewType: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn UnregisterCustomEditorProvider<'life0, 'async_trait>(
&'life0 self,
ViewType: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn OnSaveCustomDocument<'life0, 'async_trait>(
&'life0 self,
ViewType: String,
ResourceURI: Url,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn OnSaveCustomDocument<'life0, 'async_trait>(
&'life0 self,
ViewType: String,
ResourceURI: Url,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Cocoon) to the main host
(Mountain) when a custom document is saved by the user in the UI. Read moreSource§fn ResolveCustomEditor<'life0, 'async_trait>(
&'life0 self,
ViewType: String,
ResourceURI: Url,
WebviewPanelHandle: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ResolveCustomEditor<'life0, 'async_trait>(
&'life0 self,
ViewType: String,
ResourceURI: Url,
WebviewPanelHandle: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Mountain) to the extension host
(Cocoon) to resolve the content for a custom editor. Read moreSource§impl DebugService for MountainEnvironment
impl DebugService for MountainEnvironment
Source§fn RegisterDebugConfigurationProvider<'life0, 'async_trait>(
&'life0 self,
DebugType: String,
ProviderHandle: u32,
SideCarIdentifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RegisterDebugConfigurationProvider<'life0, 'async_trait>(
&'life0 self,
DebugType: String,
ProviderHandle: u32,
SideCarIdentifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn RegisterDebugAdapterDescriptorFactory<'life0, 'async_trait>(
&'life0 self,
DebugType: String,
FactoryHandle: u32,
SideCarIdentifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RegisterDebugAdapterDescriptorFactory<'life0, 'async_trait>(
&'life0 self,
DebugType: String,
FactoryHandle: u32,
SideCarIdentifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn StartDebugging<'life0, 'async_trait>(
&'life0 self,
_FolderURI: Option<Url>,
Configuration: Value,
) -> Pin<Box<dyn Future<Output = Result<String, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn StartDebugging<'life0, 'async_trait>(
&'life0 self,
_FolderURI: Option<Url>,
Configuration: Value,
) -> Pin<Box<dyn Future<Output = Result<String, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn SendCommand<'life0, 'async_trait>(
&'life0 self,
SessionID: String,
Command: String,
Arguments: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SendCommand<'life0, 'async_trait>(
&'life0 self,
SessionID: String,
Command: String,
Arguments: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl DiagnosticManager for MountainEnvironment
impl DiagnosticManager for MountainEnvironment
Source§fn SetDiagnostics<'life0, 'async_trait>(
&'life0 self,
Owner: String,
EntriesDTOValue: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SetDiagnostics<'life0, 'async_trait>(
&'life0 self,
Owner: String,
EntriesDTOValue: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sets or updates diagnostics for multiple resources from a specific owner. Empty marker arrays are treated as clearing diagnostics for that URI.
Source§fn ClearDiagnostics<'life0, 'async_trait>(
&'life0 self,
Owner: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ClearDiagnostics<'life0, 'async_trait>(
&'life0 self,
Owner: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Clears all diagnostics from a specific owner.
Source§fn GetAllDiagnostics<'life0, 'async_trait>(
&'life0 self,
ResourceURIFilterOption: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetAllDiagnostics<'life0, 'async_trait>(
&'life0 self,
ResourceURIFilterOption: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves all diagnostics, optionally filtered by a resource URI. Returns diagnostics aggregated from all owners for the specified resource(s).
Source§impl DocumentProvider for MountainEnvironment
impl DocumentProvider for MountainEnvironment
Source§fn OpenDocument<'life0, 'async_trait>(
&'life0 self,
URIComponentsDTO: Value,
LanguageIdentifier: Option<String>,
Content: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Url, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn OpenDocument<'life0, 'async_trait>(
&'life0 self,
URIComponentsDTO: Value,
LanguageIdentifier: Option<String>,
Content: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Url, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn SaveDocument<'life0, 'async_trait>(
&'life0 self,
URI: Url,
) -> Pin<Box<dyn Future<Output = Result<bool, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SaveDocument<'life0, 'async_trait>(
&'life0 self,
URI: Url,
) -> Pin<Box<dyn Future<Output = Result<bool, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn SaveDocumentAs<'life0, 'async_trait>(
&'life0 self,
OriginalURI: Url,
NewTargetURI: Option<Url>,
) -> Pin<Box<dyn Future<Output = Result<Option<Url>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SaveDocumentAs<'life0, 'async_trait>(
&'life0 self,
OriginalURI: Url,
NewTargetURI: Option<Url>,
) -> Pin<Box<dyn Future<Output = Result<Option<Url>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
OriginalURI to a new
location. If NewTargetURI is None, the user should be prompted to
select a location.Source§fn SaveAllDocuments<'life0, 'async_trait>(
&'life0 self,
IncludeUntitled: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<bool>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SaveAllDocuments<'life0, 'async_trait>(
&'life0 self,
IncludeUntitled: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<bool>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn ApplyDocumentChanges<'life0, 'async_trait>(
&'life0 self,
URI: Url,
NewVersionIdentifier: i64,
ChangesDTOCollection: Value,
_IsDirtyAfterChange: bool,
_IsUndoing: bool,
_IsRedoing: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ApplyDocumentChanges<'life0, 'async_trait>(
&'life0 self,
URI: Url,
NewVersionIdentifier: i64,
ChangesDTOCollection: Value,
_IsDirtyAfterChange: bool,
_IsUndoing: bool,
_IsRedoing: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl ExtensionManagementService for MountainEnvironment
impl ExtensionManagementService for MountainEnvironment
Source§fn ScanForExtensions<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ScanForExtensions<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
package.json
for each found extension, and populates the internal state with the
results. Read moreSource§fn GetExtensions<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetExtensions<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn GetExtension<'life0, 'async_trait>(
&'life0 self,
id: String,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetExtension<'life0, 'async_trait>(
&'life0 self,
id: String,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl FileSystemReader for MountainEnvironment
impl FileSystemReader for MountainEnvironment
Source§fn ReadFile<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn ReadFile<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Delegates to read_operations module
Source§fn StatFile<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
) -> Pin<Box<dyn Future<Output = Result<FileSystemStatDTO, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn StatFile<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
) -> Pin<Box<dyn Future<Output = Result<FileSystemStatDTO, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Delegates to read_operations module
Source§fn ReadDirectory<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
) -> Pin<Box<dyn Future<Output = Result<Vec<(String, FileTypeDTO)>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn ReadDirectory<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
) -> Pin<Box<dyn Future<Output = Result<Vec<(String, FileTypeDTO)>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Delegates to read_operations module
Source§impl FileSystemWriter for MountainEnvironment
impl FileSystemWriter for MountainEnvironment
Source§fn WriteFile<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
content: Vec<u8>,
create: bool,
overwrite: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn WriteFile<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
content: Vec<u8>,
create: bool,
overwrite: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Delegates to write_operations module
Source§fn CreateDirectory<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
recursive: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn CreateDirectory<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
recursive: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Delegates to write_operations module
Source§fn Delete<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
recursive: bool,
use_trash: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn Delete<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
recursive: bool,
use_trash: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Delegates to write_operations module
Source§fn Rename<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
source: &'life1 PathBuf,
target: &'life2 PathBuf,
overwrite: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn Rename<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
source: &'life1 PathBuf,
target: &'life2 PathBuf,
overwrite: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Delegates to write_operations module
Source§fn Copy<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
source: &'life1 PathBuf,
target: &'life2 PathBuf,
overwrite: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn Copy<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
source: &'life1 PathBuf,
target: &'life2 PathBuf,
overwrite: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Delegates to write_operations module
Source§impl IPCProvider for MountainEnvironment
impl IPCProvider for MountainEnvironment
Source§fn SendNotificationToSideCar<'life0, 'async_trait>(
&'life0 self,
SideCarIdentifier: String,
Method: String,
Parameters: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SendNotificationToSideCar<'life0, 'async_trait>(
&'life0 self,
SideCarIdentifier: String,
Method: String,
Parameters: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sends a fire-and-forget notification to a specified sidecar.
Source§fn SendRequestToSideCar<'life0, 'async_trait>(
&'life0 self,
SideCarIdentifier: String,
Method: String,
Parameters: Value,
TimeoutMilliseconds: u64,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SendRequestToSideCar<'life0, 'async_trait>(
&'life0 self,
SideCarIdentifier: String,
Method: String,
Parameters: Value,
TimeoutMilliseconds: u64,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sends a request to a specified sidecar and awaits a response.
Source§impl LanguageFeatureProviderRegistry for MountainEnvironment
impl LanguageFeatureProviderRegistry for MountainEnvironment
Source§fn RegisterProvider<'life0, 'async_trait>(
&'life0 self,
SideCarIdentifier: String,
ProviderType: ProviderType,
SelectorDTO: Value,
ExtensionIdentifierDTO: Value,
OptionsDTO: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<u32, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RegisterProvider<'life0, 'async_trait>(
&'life0 self,
SideCarIdentifier: String,
ProviderType: ProviderType,
SelectorDTO: Value,
ExtensionIdentifierDTO: Value,
OptionsDTO: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<u32, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn UnregisterProvider<'life0, 'async_trait>(
&'life0 self,
Handle: u32,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn UnregisterProvider<'life0, 'async_trait>(
&'life0 self,
Handle: u32,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideCodeActions<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
RangeOrSelectionDTO: Value,
ContextDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideCodeLenses<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideCompletions<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
ContextDTO: CompletionContextDTO,
CancellationTokenValue: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<Option<CompletionListDTO>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideDefinition<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<LocationDTO>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideDocumentFormattingEdits<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
OptionsDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<TextEditDTO>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideDocumentHighlights<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideDocumentLinks<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideDocumentRangeFormattingEdits<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
RangeDTO: Value,
OptionsDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<TextEditDTO>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideHover<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<HoverResultDTO>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideReferences<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
ContextDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<LocationDTO>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn PrepareRename<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl OutputChannelManager for MountainEnvironment
impl OutputChannelManager for MountainEnvironment
Source§fn RegisterChannel<'life0, 'async_trait>(
&'life0 self,
name: String,
language_identifier: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<String, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RegisterChannel<'life0, 'async_trait>(
&'life0 self,
name: String,
language_identifier: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<String, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn Append<'life0, 'async_trait>(
&'life0 self,
channel_identifier: String,
value: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn Append<'life0, 'async_trait>(
&'life0 self,
channel_identifier: String,
value: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn Replace<'life0, 'async_trait>(
&'life0 self,
channel_identifier: String,
value: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn Replace<'life0, 'async_trait>(
&'life0 self,
channel_identifier: String,
value: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn Clear<'life0, 'async_trait>(
&'life0 self,
channel_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn Clear<'life0, 'async_trait>(
&'life0 self,
channel_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn Reveal<'life0, 'async_trait>(
&'life0 self,
channel_identifier: String,
preserve_focus: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn Reveal<'life0, 'async_trait>(
&'life0 self,
channel_identifier: String,
preserve_focus: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn Close<'life0, 'async_trait>(
&'life0 self,
channel_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn Close<'life0, 'async_trait>(
&'life0 self,
channel_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Requires<dyn CommandExecutor> for MountainEnvironment
impl Requires<dyn CommandExecutor> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn CommandExecutor>
fn Require(&self) -> Arc<dyn CommandExecutor>
Arc for safe, shared ownership.Source§impl Requires<dyn ConfigurationInspector> for MountainEnvironment
impl Requires<dyn ConfigurationInspector> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn ConfigurationInspector>
fn Require(&self) -> Arc<dyn ConfigurationInspector>
Arc for safe, shared ownership.Source§impl Requires<dyn ConfigurationProvider> for MountainEnvironment
impl Requires<dyn ConfigurationProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn ConfigurationProvider>
fn Require(&self) -> Arc<dyn ConfigurationProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn CustomEditorProvider> for MountainEnvironment
impl Requires<dyn CustomEditorProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn CustomEditorProvider>
fn Require(&self) -> Arc<dyn CustomEditorProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn DebugService> for MountainEnvironment
impl Requires<dyn DebugService> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn DebugService>
fn Require(&self) -> Arc<dyn DebugService>
Arc for safe, shared ownership.Source§impl Requires<dyn DiagnosticManager> for MountainEnvironment
impl Requires<dyn DiagnosticManager> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn DiagnosticManager>
fn Require(&self) -> Arc<dyn DiagnosticManager>
Arc for safe, shared ownership.Source§impl Requires<dyn DocumentProvider> for MountainEnvironment
impl Requires<dyn DocumentProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn DocumentProvider>
fn Require(&self) -> Arc<dyn DocumentProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn ExtensionManagementService> for MountainEnvironment
impl Requires<dyn ExtensionManagementService> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn ExtensionManagementService>
fn Require(&self) -> Arc<dyn ExtensionManagementService>
Arc for safe, shared ownership.Source§impl Requires<dyn FileSystemReader> for MountainEnvironment
impl Requires<dyn FileSystemReader> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn FileSystemReader>
fn Require(&self) -> Arc<dyn FileSystemReader>
Arc for safe, shared ownership.Source§impl Requires<dyn FileSystemWriter> for MountainEnvironment
impl Requires<dyn FileSystemWriter> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn FileSystemWriter>
fn Require(&self) -> Arc<dyn FileSystemWriter>
Arc for safe, shared ownership.Source§impl Requires<dyn IPCProvider> for MountainEnvironment
impl Requires<dyn IPCProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn IPCProvider>
fn Require(&self) -> Arc<dyn IPCProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn KeybindingProvider> for MountainEnvironment
impl Requires<dyn KeybindingProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn KeybindingProvider>
fn Require(&self) -> Arc<dyn KeybindingProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn LanguageFeatureProviderRegistry> for MountainEnvironment
impl Requires<dyn LanguageFeatureProviderRegistry> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn LanguageFeatureProviderRegistry>
fn Require(&self) -> Arc<dyn LanguageFeatureProviderRegistry>
Arc for safe, shared ownership.Source§impl Requires<dyn OutputChannelManager> for MountainEnvironment
impl Requires<dyn OutputChannelManager> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn OutputChannelManager>
fn Require(&self) -> Arc<dyn OutputChannelManager>
Arc for safe, shared ownership.Source§impl Requires<dyn SearchProvider> for MountainEnvironment
impl Requires<dyn SearchProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn SearchProvider>
fn Require(&self) -> Arc<dyn SearchProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn SecretProvider> for MountainEnvironment
impl Requires<dyn SecretProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn SecretProvider>
fn Require(&self) -> Arc<dyn SecretProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn SourceControlManagementProvider> for MountainEnvironment
impl Requires<dyn SourceControlManagementProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn SourceControlManagementProvider>
fn Require(&self) -> Arc<dyn SourceControlManagementProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn StatusBarProvider> for MountainEnvironment
impl Requires<dyn StatusBarProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn StatusBarProvider>
fn Require(&self) -> Arc<dyn StatusBarProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn StorageProvider> for MountainEnvironment
impl Requires<dyn StorageProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn StorageProvider>
fn Require(&self) -> Arc<dyn StorageProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn SynchronizationProvider> for MountainEnvironment
impl Requires<dyn SynchronizationProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn SynchronizationProvider>
fn Require(&self) -> Arc<dyn SynchronizationProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn TerminalProvider> for MountainEnvironment
impl Requires<dyn TerminalProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn TerminalProvider>
fn Require(&self) -> Arc<dyn TerminalProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn TestController> for MountainEnvironment
impl Requires<dyn TestController> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn TestController>
fn Require(&self) -> Arc<dyn TestController>
Arc for safe, shared ownership.Source§impl Requires<dyn TreeViewProvider> for MountainEnvironment
impl Requires<dyn TreeViewProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn TreeViewProvider>
fn Require(&self) -> Arc<dyn TreeViewProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn UserInterfaceProvider> for MountainEnvironment
impl Requires<dyn UserInterfaceProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn UserInterfaceProvider>
fn Require(&self) -> Arc<dyn UserInterfaceProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn WebviewProvider> for MountainEnvironment
impl Requires<dyn WebviewProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn WebviewProvider>
fn Require(&self) -> Arc<dyn WebviewProvider>
Arc for safe, shared ownership.Source§impl Requires<dyn WorkspaceEditApplier> for MountainEnvironment
impl Requires<dyn WorkspaceEditApplier> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn WorkspaceEditApplier>
fn Require(&self) -> Arc<dyn WorkspaceEditApplier>
Arc for safe, shared ownership.Source§impl Requires<dyn WorkspaceProvider> for MountainEnvironment
impl Requires<dyn WorkspaceProvider> for MountainEnvironment
Source§fn Require(&self) -> Arc<dyn WorkspaceProvider>
fn Require(&self) -> Arc<dyn WorkspaceProvider>
Arc for safe, shared ownership.Source§impl SearchProvider for MountainEnvironment
impl SearchProvider for MountainEnvironment
Source§impl SecretProvider for MountainEnvironment
impl SecretProvider for MountainEnvironment
Source§fn GetSecret<'life0, 'async_trait>(
&'life0 self,
ExtensionIdentifier: String,
Key: String,
) -> Pin<Box<dyn Future<Output = Result<Option<String>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetSecret<'life0, 'async_trait>(
&'life0 self,
ExtensionIdentifier: String,
Key: String,
) -> Pin<Box<dyn Future<Output = Result<Option<String>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves a secret by reading from the OS keychain. If Air is available and healthy, delegates to Air service. Falls back to local keyring if Air is unavailable.
Source§fn StoreSecret<'life0, 'async_trait>(
&'life0 self,
ExtensionIdentifier: String,
Key: String,
Value: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn StoreSecret<'life0, 'async_trait>(
&'life0 self,
ExtensionIdentifier: String,
Key: String,
Value: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Stores a secret by writing to the OS keychain. If Air is available and healthy, delegates to Air service. Falls back to local keyring if Air is unavailable.
Source§fn DeleteSecret<'life0, 'async_trait>(
&'life0 self,
ExtensionIdentifier: String,
Key: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn DeleteSecret<'life0, 'async_trait>(
&'life0 self,
ExtensionIdentifier: String,
Key: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Deletes a secret by removing it from the OS keychain. If Air is available and healthy, delegates to Air service. Falls back to local keyring if Air is unavailable.
Source§impl SourceControlManagementProvider for MountainEnvironment
impl SourceControlManagementProvider for MountainEnvironment
Source§fn CreateSourceControl<'life0, 'async_trait>(
&'life0 self,
ProviderDataValue: Value,
) -> Pin<Box<dyn Future<Output = Result<u32, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn CreateSourceControl<'life0, 'async_trait>(
&'life0 self,
ProviderDataValue: Value,
) -> Pin<Box<dyn Future<Output = Result<u32, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn DisposeSourceControl<'life0, 'async_trait>(
&'life0 self,
ProviderHandle: u32,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn DisposeSourceControl<'life0, 'async_trait>(
&'life0 self,
ProviderHandle: u32,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn UpdateSourceControl<'life0, 'async_trait>(
&'life0 self,
ProviderHandle: u32,
UpdateDataValue: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn UpdateSourceControl<'life0, 'async_trait>(
&'life0 self,
ProviderHandle: u32,
UpdateDataValue: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn UpdateSourceControlGroup<'life0, 'async_trait>(
&'life0 self,
ProviderHandle: u32,
GroupDataValue: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn UpdateSourceControlGroup<'life0, 'async_trait>(
&'life0 self,
ProviderHandle: u32,
GroupDataValue: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn RegisterInputBox<'life0, 'async_trait>(
&'life0 self,
ProviderHandle: u32,
InputBoxDataValue: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RegisterInputBox<'life0, 'async_trait>(
&'life0 self,
ProviderHandle: u32,
InputBoxDataValue: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl StatusBarProvider for MountainEnvironment
impl StatusBarProvider for MountainEnvironment
Source§fn SetStatusBarEntry<'life0, 'async_trait>(
&'life0 self,
entry: StatusBarEntryDTO,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SetStatusBarEntry<'life0, 'async_trait>(
&'life0 self,
entry: StatusBarEntryDTO,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates a new status bar entry or updates an existing one.
Source§fn DisposeStatusBarEntry<'life0, 'async_trait>(
&'life0 self,
entry_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn DisposeStatusBarEntry<'life0, 'async_trait>(
&'life0 self,
entry_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Removes a status bar item from the UI.
Source§fn SetStatusBarMessage<'life0, 'async_trait>(
&'life0 self,
message_identifier: String,
text: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SetStatusBarMessage<'life0, 'async_trait>(
&'life0 self,
message_identifier: String,
text: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Shows a temporary message in the status bar.
Source§fn DisposeStatusBarMessage<'life0, 'async_trait>(
&'life0 self,
message_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn DisposeStatusBarMessage<'life0, 'async_trait>(
&'life0 self,
message_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Disposes of a temporary status bar message.
Source§fn ProvideTooltip<'life0, 'async_trait>(
&'life0 self,
entry_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideTooltip<'life0, 'async_trait>(
&'life0 self,
entry_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Resolves a dynamic tooltip by making a reverse call to the extension host.
Source§impl StorageProvider for MountainEnvironment
impl StorageProvider for MountainEnvironment
Source§fn GetStorageValue<'life0, 'life1, 'async_trait>(
&'life0 self,
IsGlobalScope: bool,
Key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn GetStorageValue<'life0, 'life1, 'async_trait>(
&'life0 self,
IsGlobalScope: bool,
Key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Retrieves a value from either global or workspace storage. Includes defensive validation to prevent invalid keys and invalid JSON.
Source§fn UpdateStorageValue<'life0, 'async_trait>(
&'life0 self,
IsGlobalScope: bool,
Key: String,
ValueToSet: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn UpdateStorageValue<'life0, 'async_trait>(
&'life0 self,
IsGlobalScope: bool,
Key: String,
ValueToSet: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Updates or deletes a value in either global or workspace storage. Includes comprehensive validation for key length, value size, and JSON validity.
Source§impl SynchronizationProvider for MountainEnvironment
impl SynchronizationProvider for MountainEnvironment
Source§impl TerminalProvider for MountainEnvironment
impl TerminalProvider for MountainEnvironment
Source§fn CreateTerminal<'life0, 'async_trait>(
&'life0 self,
OptionsValue: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn CreateTerminal<'life0, 'async_trait>(
&'life0 self,
OptionsValue: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates a new terminal instance, spawns a PTY, and manages its I/O.
Source§fn SendTextToTerminal<'life0, 'async_trait>(
&'life0 self,
TerminalId: u64,
Text: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SendTextToTerminal<'life0, 'async_trait>(
&'life0 self,
TerminalId: u64,
Text: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn DisposeTerminal<'life0, 'async_trait>(
&'life0 self,
TerminalId: u64,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn DisposeTerminal<'life0, 'async_trait>(
&'life0 self,
TerminalId: u64,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn ShowTerminal<'life0, 'async_trait>(
&'life0 self,
TerminalId: u64,
PreserveFocus: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ShowTerminal<'life0, 'async_trait>(
&'life0 self,
TerminalId: u64,
PreserveFocus: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn HideTerminal<'life0, 'async_trait>(
&'life0 self,
TerminalId: u64,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn HideTerminal<'life0, 'async_trait>(
&'life0 self,
TerminalId: u64,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn GetTerminalProcessId<'life0, 'async_trait>(
&'life0 self,
TerminalId: u64,
) -> Pin<Box<dyn Future<Output = Result<Option<u32>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetTerminalProcessId<'life0, 'async_trait>(
&'life0 self,
TerminalId: u64,
) -> Pin<Box<dyn Future<Output = Result<Option<u32>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl TestController for MountainEnvironment
impl TestController for MountainEnvironment
Source§fn RegisterTestController<'life0, 'async_trait>(
&'life0 self,
ControllerId: String,
Label: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RegisterTestController<'life0, 'async_trait>(
&'life0 self,
ControllerId: String,
Label: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Registers a new test controller from an extension (e.g., Cocoon).
This method creates a TestControllerState entry and notifies the frontend about the available test controller.
Source§fn RunTests<'life0, 'async_trait>(
&'life0 self,
ControllerIdentifier: String,
TestRunRequest: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RunTests<'life0, 'async_trait>(
&'life0 self,
ControllerIdentifier: String,
TestRunRequest: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Runs tests based on the test run request.
This implementation supports both native (Rust) and proxied (extension) test controllers, with proper test discovery, execution, and result reporting.
Source§impl TreeViewProvider for MountainEnvironment
impl TreeViewProvider for MountainEnvironment
Source§fn RegisterTreeDataProvider<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
options: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RegisterTreeDataProvider<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
options: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn UnregisterTreeDataProvider<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn UnregisterTreeDataProvider<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn GetChildren<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
element_handle: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetChildren<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
element_handle: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn GetTreeItem<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
element_handle: String,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetTreeItem<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
element_handle: String,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
TreeItem DTO for a given element handle.
This is used by the host to get the display properties of an item. Read moreSource§fn SetTreeViewMessage<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
message: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SetTreeViewMessage<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
message: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn SetTreeViewTitle<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
title: Option<String>,
description: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SetTreeViewTitle<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
title: Option<String>,
description: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn SetTreeViewBadge<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
badge: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SetTreeViewBadge<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
badge: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn OnTreeNodeExpanded<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
element_handle: String,
is_expanded: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn OnTreeNodeExpanded<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
element_handle: String,
is_expanded: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn OnTreeSelectionChanged<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
selected_handles: Vec<String>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn OnTreeSelectionChanged<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
selected_handles: Vec<String>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn PersistTreeViewState<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn PersistTreeViewState<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn RestoreTreeViewState<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
state_value: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RestoreTreeViewState<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
state_value: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn RevealTreeItem<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
item_handle: String,
options: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RevealTreeItem<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
item_handle: String,
options: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn RefreshTreeView<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
items_to_refresh: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RefreshTreeView<'life0, 'async_trait>(
&'life0 self,
view_identifier: String,
items_to_refresh: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl UserInterfaceProvider for MountainEnvironment
impl UserInterfaceProvider for MountainEnvironment
Source§fn ShowMessage<'life0, 'async_trait>(
&'life0 self,
Severity: MessageSeverity,
Message: String,
Options: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<Option<String>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ShowMessage<'life0, 'async_trait>(
&'life0 self,
Severity: MessageSeverity,
Message: String,
Options: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<Option<String>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Shows a message to the user with a given severity and optional action buttons.
Source§fn ShowOpenDialog<'life0, 'async_trait>(
&'life0 self,
Options: Option<OpenDialogOptionsDTO>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<PathBuf>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ShowOpenDialog<'life0, 'async_trait>(
&'life0 self,
Options: Option<OpenDialogOptionsDTO>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<PathBuf>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Shows a dialog for opening files or folders using the tauri-plugin-dialog.
Source§fn ShowSaveDialog<'life0, 'async_trait>(
&'life0 self,
Options: Option<SaveDialogOptionsDTO>,
) -> Pin<Box<dyn Future<Output = Result<Option<PathBuf>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ShowSaveDialog<'life0, 'async_trait>(
&'life0 self,
Options: Option<SaveDialogOptionsDTO>,
) -> Pin<Box<dyn Future<Output = Result<Option<PathBuf>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Shows a dialog for saving a file using the tauri-plugin-dialog.
Source§fn ShowQuickPick<'life0, 'async_trait>(
&'life0 self,
Items: Vec<QuickPickItemDTO>,
Options: Option<QuickPickOptionsDTO>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<String>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ShowQuickPick<'life0, 'async_trait>(
&'life0 self,
Items: Vec<QuickPickItemDTO>,
Options: Option<QuickPickOptionsDTO>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<String>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Shows a quick pick list to the user.
Source§fn ShowInputBox<'life0, 'async_trait>(
&'life0 self,
Options: Option<InputBoxOptionsDTO>,
) -> Pin<Box<dyn Future<Output = Result<Option<String>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ShowInputBox<'life0, 'async_trait>(
&'life0 self,
Options: Option<InputBoxOptionsDTO>,
) -> Pin<Box<dyn Future<Output = Result<Option<String>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Shows an input box to solicit a string input from the user.
Source§impl WebviewProvider for MountainEnvironment
impl WebviewProvider for MountainEnvironment
Source§fn CreateWebviewPanel<'life0, 'async_trait>(
&'life0 self,
extension_data_value: Value,
view_type: String,
title: String,
_show_options_value: Value,
panel_options_value: Value,
content_options_value: Value,
) -> Pin<Box<dyn Future<Output = Result<String, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn CreateWebviewPanel<'life0, 'async_trait>(
&'life0 self,
extension_data_value: Value,
view_type: String,
title: String,
_show_options_value: Value,
panel_options_value: Value,
content_options_value: Value,
) -> Pin<Box<dyn Future<Output = Result<String, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates a new Webview panel with proper security isolation.
Source§fn DisposeWebviewPanel<'life0, 'async_trait>(
&'life0 self,
handle: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn DisposeWebviewPanel<'life0, 'async_trait>(
&'life0 self,
handle: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Disposes a Webview panel and cleans up all associated resources.
Source§fn RevealWebviewPanel<'life0, 'async_trait>(
&'life0 self,
handle: String,
_show_options_value: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RevealWebviewPanel<'life0, 'async_trait>(
&'life0 self,
handle: String,
_show_options_value: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Reveals (shows and focuses) a Webview panel.
Source§fn SetWebviewOptions<'life0, 'async_trait>(
&'life0 self,
handle: String,
options_value: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SetWebviewOptions<'life0, 'async_trait>(
&'life0 self,
handle: String,
options_value: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sets Webview options (title, icon, etc.).
Source§impl WorkspaceEditApplier for MountainEnvironment
impl WorkspaceEditApplier for MountainEnvironment
Source§fn ApplyWorkspaceEdit<'life0, 'async_trait>(
&'life0 self,
Edit: WorkspaceEditDTO,
) -> Pin<Box<dyn Future<Output = Result<bool, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ApplyWorkspaceEdit<'life0, 'async_trait>(
&'life0 self,
Edit: WorkspaceEditDTO,
) -> Pin<Box<dyn Future<Output = Result<bool, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Applies a workspace edit to the workspace.
Source§impl WorkspaceProvider for MountainEnvironment
impl WorkspaceProvider for MountainEnvironment
Source§fn GetWorkspaceFoldersInfo<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<(Url, String, usize)>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetWorkspaceFoldersInfo<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<(Url, String, usize)>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves information about all currently open workspace folders.
Source§fn GetWorkspaceFolderInfo<'life0, 'async_trait>(
&'life0 self,
URIToMatch: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<(Url, String, usize)>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetWorkspaceFolderInfo<'life0, 'async_trait>(
&'life0 self,
URIToMatch: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<(Url, String, usize)>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves information for the specific workspace folder that contains a given URI.
Source§fn GetWorkspaceName<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<String>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetWorkspaceName<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<String>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Gets the name of the current workspace.
Source§fn GetWorkspaceConfigurationPath<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<PathBuf>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetWorkspaceConfigurationPath<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<PathBuf>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Gets the path to the workspace configuration file (.code-workspace).
Source§fn IsWorkspaceTrusted<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<bool, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn IsWorkspaceTrusted<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<bool, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Checks if the current workspace is trusted.
Source§fn RequestWorkspaceTrust<'life0, 'async_trait>(
&'life0 self,
_Options: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<bool, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RequestWorkspaceTrust<'life0, 'async_trait>(
&'life0 self,
_Options: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<bool, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Requests workspace trust from the user.
Source§fn FindFilesInWorkspace<'life0, 'async_trait>(
&'life0 self,
_query: Value,
__arg2: Option<Value>,
__arg3: Option<usize>,
__arg4: bool,
__arg5: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<Url>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn FindFilesInWorkspace<'life0, 'async_trait>(
&'life0 self,
_query: Value,
__arg2: Option<Value>,
__arg3: Option<usize>,
__arg4: bool,
__arg5: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<Url>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Finds files in the workspace matching the specified query.
impl Environment for MountainEnvironment
Auto Trait Implementations§
impl !Freeze for MountainEnvironment
impl !RefUnwindSafe for MountainEnvironment
impl Send for MountainEnvironment
impl Sync for MountainEnvironment
impl Unpin for MountainEnvironment
impl !UnwindSafe for MountainEnvironment
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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].