pub enum ProxyResponse {
Show 24 variants
GitGetRemoteFileUrl {
file_url: String,
},
NewBufferResponse {
content: String,
},
BufferHeadResponse {
version: String,
content: String,
},
ReadDirResponse {
items: HashMap<PathBuf, FileNodeItem>,
},
CompletionResolveResponse {
item: Box<CompletionItem>,
},
CodeActionResolveResponse {
item: Box<CodeAction>,
},
HoverResponse {
request_id: usize,
hover: Hover,
},
GetDefinitionResponse {
request_id: usize,
definition: GotoDefinitionResponse,
},
GetTypeDefinition {
request_id: usize,
definition: GotoTypeDefinitionResponse,
},
GetReferencesResponse {
references: Vec<Location>,
},
GetCodeActionsResponse {
plugin_id: PluginId,
resp: CodeActionResponse,
},
GetFilesResponse {
items: Vec<PathBuf>,
},
GetDocumentFormatting {
edits: Vec<TextEdit>,
},
GetDocumentSymbols {
resp: DocumentSymbolResponse,
},
GetWorkspaceSymbols {
symbols: Vec<SymbolInformation>,
},
GetSelectionRange {
ranges: Vec<SelectionRange>,
},
GetInlayHints {
hints: Vec<InlayHint>,
},
GetSemanticTokens {
styles: SemanticStyles,
},
PrepareRename {
resp: PrepareRenameResponse,
},
Rename {
edit: WorkspaceEdit,
},
GetOpenFilesContentResponse {
items: Vec<TextDocumentItem>,
},
GlobalSearchResponse {
matches: HashMap<PathBuf, Vec<(usize, (usize, usize), String)>>,
},
Success {},
SaveResponse {},
}
Variants§
GitGetRemoteFileUrl
NewBufferResponse
BufferHeadResponse
ReadDirResponse
Fields
§
items: HashMap<PathBuf, FileNodeItem>
CompletionResolveResponse
Fields
§
item: Box<CompletionItem>
CodeActionResolveResponse
Fields
§
item: Box<CodeAction>
HoverResponse
GetDefinitionResponse
GetTypeDefinition
GetReferencesResponse
GetCodeActionsResponse
GetFilesResponse
GetDocumentFormatting
GetDocumentSymbols
Fields
§
resp: DocumentSymbolResponse
GetWorkspaceSymbols
Fields
§
symbols: Vec<SymbolInformation>
GetSelectionRange
Fields
§
ranges: Vec<SelectionRange>
GetInlayHints
GetSemanticTokens
Fields
§
styles: SemanticStyles
PrepareRename
Fields
§
resp: PrepareRenameResponse
Rename
Fields
§
edit: WorkspaceEdit
GetOpenFilesContentResponse
Fields
§
items: Vec<TextDocumentItem>
GlobalSearchResponse
Success
SaveResponse
Trait Implementations§
Source§impl Clone for ProxyResponse
impl Clone for ProxyResponse
Source§fn clone(&self) -> ProxyResponse
fn clone(&self) -> ProxyResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProxyResponse
impl Debug for ProxyResponse
Source§impl<'de> Deserialize<'de> for ProxyResponse
impl<'de> Deserialize<'de> for ProxyResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProxyResponse
impl RefUnwindSafe for ProxyResponse
impl Send for ProxyResponse
impl Sync for ProxyResponse
impl Unpin for ProxyResponse
impl UnwindSafe for ProxyResponse
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
Mutably borrows from an owned value. Read more