pub struct MountainEnvironment {
pub ApplicationHandle: AppHandle<Wry>,
pub ApplicationState: Arc<ApplicationState>,
}Expand description
The concrete Environment for the Mountain application.
Fields§
§ApplicationHandle: AppHandle<Wry>§ApplicationState: Arc<ApplicationState>Implementations§
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,
Inspects a configuration key to get its value from all relevant scopes.
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,
Retrieves a configuration value from the cached, merged configuration.
Source§fn UpdateConfigurationValue<'life0, 'async_trait>(
&'life0 self,
Key: String,
ValueToSet: 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,
ValueToSet: 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,
Updates a configuration value in the appropriate settings.json file.
Source§impl CustomEditorProvider for MountainEnvironment
impl CustomEditorProvider for MountainEnvironment
Source§fn RegisterCustomEditorProvider<'life0, 'async_trait>(
&'life0 self,
_ViewType: String,
_OptionsValue: 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,
_OptionsValue: 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.
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.
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,
Opens a document. If the URI scheme is not native (file), it attempts
to resolve the content from a registered sidecar provider
(TextDocumentContentProvider).
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,
Saves the document at the given URI.
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,
Saves a document to a new 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,
Saves all currently dirty documents.
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,
Applies a collection of content changes to a document.
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,
Reads the entire contents of a file into a byte vector after verifying access rights.
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,
Retrieves metadata for a file or directory after verifying access rights.
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,
Reads the contents of a directory after verifying access rights.
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,
Writes content to a file after verifying access rights and options.
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,
Creates a directory after verifying access rights.
Source§fn Delete<'life0, 'life1, 'async_trait>(
&'life0 self,
Path: &'life1 PathBuf,
Recursive: bool,
_UseTrash: 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,
_UseTrash: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Deletes a file or directory after verifying access rights.
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,
Renames (moves) a file or directory after verifying access rights.
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,
Copies a file after verifying access rights.
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 KeybindingProvider for MountainEnvironment
impl KeybindingProvider for MountainEnvironment
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 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 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 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 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 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 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 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 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,
LanguageIdentifier: 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,
LanguageIdentifier: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<String, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Registers a new output channel.
Source§fn Append<'life0, 'async_trait>(
&'life0 self,
ChannelIdentifier: 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,
ChannelIdentifier: String,
Value: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Appends text to an output channel.
Source§fn Replace<'life0, 'async_trait>(
&'life0 self,
ChannelIdentifier: 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,
ChannelIdentifier: String,
Value: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Replaces the entire content of an output channel.
Source§fn Clear<'life0, 'async_trait>(
&'life0 self,
ChannelIdentifier: 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,
ChannelIdentifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Clears all content from an output channel.
Source§fn Reveal<'life0, 'async_trait>(
&'life0 self,
ChannelIdentifier: String,
PreserveFocus: 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,
ChannelIdentifier: String,
PreserveFocus: bool,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Reveals an output channel in the UI.
Source§impl Requires<dyn CommandExecutor> for MountainEnvironment
impl Requires<dyn CommandExecutor> for MountainEnvironment
Source§impl Requires<dyn ConfigurationInspector> for MountainEnvironment
impl Requires<dyn ConfigurationInspector> for MountainEnvironment
Source§impl Requires<dyn ConfigurationProvider> for MountainEnvironment
impl Requires<dyn ConfigurationProvider> for MountainEnvironment
Source§impl Requires<dyn CustomEditorProvider> for MountainEnvironment
impl Requires<dyn CustomEditorProvider> for MountainEnvironment
Source§impl Requires<dyn DebugService> for MountainEnvironment
impl Requires<dyn DebugService> for MountainEnvironment
Source§impl Requires<dyn DiagnosticManager> for MountainEnvironment
impl Requires<dyn DiagnosticManager> for MountainEnvironment
Source§impl Requires<dyn DocumentProvider> for MountainEnvironment
impl Requires<dyn DocumentProvider> for MountainEnvironment
Source§impl Requires<dyn ExtensionManagementService> for MountainEnvironment
impl Requires<dyn ExtensionManagementService> for MountainEnvironment
Source§impl Requires<dyn FileSystemReader> for MountainEnvironment
impl Requires<dyn FileSystemReader> for MountainEnvironment
Source§impl Requires<dyn FileSystemWriter> for MountainEnvironment
impl Requires<dyn FileSystemWriter> for MountainEnvironment
Source§impl Requires<dyn IPCProvider> for MountainEnvironment
impl Requires<dyn IPCProvider> for MountainEnvironment
Source§impl Requires<dyn KeybindingProvider> for MountainEnvironment
impl Requires<dyn KeybindingProvider> for MountainEnvironment
Source§impl Requires<dyn LanguageFeatureProviderRegistry> for MountainEnvironment
impl Requires<dyn LanguageFeatureProviderRegistry> for MountainEnvironment
Source§impl Requires<dyn OutputChannelManager> for MountainEnvironment
impl Requires<dyn OutputChannelManager> for MountainEnvironment
Source§impl Requires<dyn SearchProvider> for MountainEnvironment
impl Requires<dyn SearchProvider> for MountainEnvironment
Source§impl Requires<dyn SecretProvider> for MountainEnvironment
impl Requires<dyn SecretProvider> for MountainEnvironment
Source§impl Requires<dyn SourceControlManagementProvider> for MountainEnvironment
impl Requires<dyn SourceControlManagementProvider> for MountainEnvironment
Source§impl Requires<dyn StatusBarProvider> for MountainEnvironment
impl Requires<dyn StatusBarProvider> for MountainEnvironment
Source§impl Requires<dyn StorageProvider> for MountainEnvironment
impl Requires<dyn StorageProvider> for MountainEnvironment
Source§impl Requires<dyn SynchronizationProvider> for MountainEnvironment
impl Requires<dyn SynchronizationProvider> for MountainEnvironment
Source§impl Requires<dyn TerminalProvider> for MountainEnvironment
impl Requires<dyn TerminalProvider> for MountainEnvironment
Source§impl Requires<dyn TestController> for MountainEnvironment
impl Requires<dyn TestController> for MountainEnvironment
Source§impl Requires<dyn TreeViewProvider> for MountainEnvironment
impl Requires<dyn TreeViewProvider> for MountainEnvironment
Source§impl Requires<dyn UserInterfaceProvider> for MountainEnvironment
impl Requires<dyn UserInterfaceProvider> for MountainEnvironment
Source§impl Requires<dyn WebViewProvider> for MountainEnvironment
impl Requires<dyn WebViewProvider> for MountainEnvironment
Source§impl Requires<dyn WorkSpaceEditApplier> for MountainEnvironment
impl Requires<dyn WorkSpaceEditApplier> for MountainEnvironment
Source§impl Requires<dyn WorkSpaceProvider> for MountainEnvironment
impl Requires<dyn WorkSpaceProvider> for MountainEnvironment
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.
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,
EntryIdentifier: 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,
EntryIdentifier: 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,
MessageIdentifier: 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,
MessageIdentifier: 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,
MessageIdentifier: 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,
MessageIdentifier: 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,
EntryIdentifier: 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,
EntryIdentifier: 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.
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.
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,
Source§impl TreeViewProvider for MountainEnvironment
impl TreeViewProvider for MountainEnvironment
Source§fn RegisterTreeDataProvider<'life0, 'async_trait>(
&'life0 self,
ViewIdentifier: 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,
ViewIdentifier: String,
Options: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Registers a new tree data provider from an extension (e.g., Cocoon).
Source§fn UnregisterTreeDataProvider<'life0, 'async_trait>(
&'life0 self,
ViewIdentifier: 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,
ViewIdentifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Unregisters a tree data provider.
Source§fn RevealTreeItem<'life0, 'async_trait>(
&'life0 self,
ViewIdentifier: String,
ItemHandle: 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,
ViewIdentifier: String,
ItemHandle: String,
Options: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Reveals a specific item in the tree view by notifying the UI.
Source§fn RefreshTreeView<'life0, 'async_trait>(
&'life0 self,
ViewIdentifier: String,
ItemsToRefresh: 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,
ViewIdentifier: String,
ItemsToRefresh: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Refreshes the tree view by notifying the UI.
Source§fn GetChildren<'life0, 'async_trait>(
&'life0 self,
ViewIdentifier: String,
ElementHandle: 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,
ViewIdentifier: String,
ElementHandle: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Gets the children for a given element. This method acts as a dispatcher.
Source§fn GetTreeItem<'life0, 'async_trait>(
&'life0 self,
ViewIdentifier: String,
ElementHandle: 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,
ViewIdentifier: String,
ElementHandle: String,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Gets the TreeItem for a given element. This method acts as a dispatcher.
Source§fn SetTreeViewMessage<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: 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,
_ViewIdentifier: 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,
_ViewIdentifier: 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,
_ViewIdentifier: 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,
_ViewIdentifier: 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,
_ViewIdentifier: String,
_Badge: 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§impl WebViewProvider for MountainEnvironment
impl WebViewProvider for MountainEnvironment
Source§fn CreateWebViewPanel<'life0, 'async_trait>(
&'life0 self,
ExtensionDataValue: Value,
ViewType: String,
Title: String,
_ShowOptionsValue: Value,
PanelOptionsValue: Value,
ContentOptionsValue: 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,
ExtensionDataValue: Value,
ViewType: String,
Title: String,
_ShowOptionsValue: Value,
PanelOptionsValue: Value,
ContentOptionsValue: Value,
) -> Pin<Box<dyn Future<Output = Result<String, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
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,
Source§fn RevealWebViewPanel<'life0, 'async_trait>(
&'life0 self,
Handle: String,
_ShowOptionsValue: 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,
_ShowOptionsValue: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn SetWebViewOptions<'life0, 'async_trait>(
&'life0 self,
Handle: String,
OptionsValue: 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,
OptionsValue: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn SetWebViewHTML<'life0, 'async_trait>(
&'life0 self,
Handle: String,
HTML: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SetWebViewHTML<'life0, 'async_trait>(
&'life0 self,
Handle: String,
HTML: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn PostMessageToWebView<'life0, 'async_trait>(
&'life0 self,
Handle: String,
Message: Value,
) -> Pin<Box<dyn Future<Output = Result<bool, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn PostMessageToWebView<'life0, 'async_trait>(
&'life0 self,
Handle: String,
Message: Value,
) -> Pin<Box<dyn Future<Output = Result<bool, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl WorkSpaceEditApplier for MountainEnvironment
impl WorkSpaceEditApplier for MountainEnvironment
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,
IncludePatternDTO: Value,
ExcludePatternDTO: Option<Value>,
MaxResults: Option<usize>,
UseIgnoreFiles: bool,
FollowSymlinks: 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,
IncludePatternDTO: Value,
ExcludePatternDTO: Option<Value>,
MaxResults: Option<usize>,
UseIgnoreFiles: bool,
FollowSymlinks: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<Url>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Finds files within the workspace using glob patterns.
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> 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].