pub enum Request {
Show 15 variants
InitializeBuild(RequestId, InitializeBuild),
Shutdown(RequestId),
WorkspaceBuildTargets(RequestId),
WorkspaceReload(RequestId),
BuildTargetDependencyModules(RequestId, BuildTargetDependencyModules),
DebugSessionStart(RequestId, DebugSessionStart),
BuildTargetSources(RequestId, BuildTargetSources),
TextDocumentInverseSources(RequestId, TextDocumentInverseSources),
BuildTargetDependencySources(RequestId, BuildTargetDependencySources),
BuildTargetResources(RequestId, BuildTargetResources),
BuildTargetRun(RequestId, BuildTargetRun),
BuildTargetCompile(RequestId, BuildTargetCompile),
BuildTargetTest(RequestId, BuildTargetTest),
BuildTargetCleanCache(RequestId, BuildTargetCleanCache),
Custom(RequestId, &'static str, Value),
}
Variants§
InitializeBuild(RequestId, InitializeBuild)
Client->Server: Initialize Server
Shutdown(RequestId)
Client->Server: Shutdown server
WorkspaceBuildTargets(RequestId)
Client->Server: Get a list of all available build targets in the workspace.
WorkspaceReload(RequestId)
Client->Server: Reload the build configuration.
BuildTargetDependencyModules(RequestId, BuildTargetDependencyModules)
Client->Server: Get libraries of build target dependencies that are external to the workspace including meta information about library and their sources. It’s an extended version of buildTarget/sources
DebugSessionStart(RequestId, DebugSessionStart)
Client->Server: Debug build target(s)
BuildTargetSources(RequestId, BuildTargetSources)
Client->Server: Get text documents and directories that belong to a build target.
TextDocumentInverseSources(RequestId, TextDocumentInverseSources)
Client->Server: Get build targets containing a text document.
BuildTargetDependencySources(RequestId, BuildTargetDependencySources)
Client->Server: Get sources of build target dependencies that are external to the workspace.
BuildTargetResources(RequestId, BuildTargetResources)
Client->Server: Get list of resources of a given list of build targets.
BuildTargetRun(RequestId, BuildTargetRun)
Client->Server: Run a build target
BuildTargetCompile(RequestId, BuildTargetCompile)
Client->Server: Run a compile target
BuildTargetTest(RequestId, BuildTargetTest)
Client->Server: Run a test target
BuildTargetCleanCache(RequestId, BuildTargetCleanCache)
Client->Server: reset any state associated with a given build target
Custom(RequestId, &'static str, Value)
Any custom message not yet supported in the crate or custom