pub enum CoreNotification {
Show 21 variants
ProxyConnected {},
OpenFileChanged {
path: PathBuf,
content: String,
},
CompletionResponse {
request_id: usize,
input: String,
resp: CompletionResponse,
plugin_id: PluginId,
},
ReloadBuffer {
path: PathBuf,
content: String,
rev: u64,
},
OpenPaths {
window_tab_id: Option<(usize, usize)>,
folders: Vec<PathBuf>,
files: Vec<PathBuf>,
},
WorkspaceFileChange {},
PublishDiagnostics {
diagnostics: PublishDiagnosticsParams,
},
WorkDoneProgress {
progress: ProgressParams,
},
ShowMessage {
title: String,
message: ShowMessageParams,
},
LogMessage {
message: LogMessageParams,
},
HomeDir {
path: PathBuf,
},
VoltInstalled {
volt: VoltMetadata,
only_installing: bool,
},
VoltInstalling {
volt: VoltMetadata,
error: String,
},
VoltRemoving {
volt: VoltMetadata,
error: String,
},
VoltRemoved {
volt: VoltInfo,
only_installing: bool,
},
ListDir {
items: Vec<FileNodeItem>,
},
DiffFiles {
files: Vec<PathBuf>,
},
DiffInfo {
diff: DiffInfo,
},
UpdateTerminal {
term_id: TermId,
content: String,
},
CloseTerminal {
term_id: TermId,
},
Log {
level: String,
message: String,
},
}
Variants§
ProxyConnected
OpenFileChanged
CompletionResponse
ReloadBuffer
OpenPaths
WorkspaceFileChange
PublishDiagnostics
Fields
§
diagnostics: PublishDiagnosticsParams
WorkDoneProgress
Fields
§
progress: ProgressParams
ShowMessage
LogMessage
Fields
§
message: LogMessageParams
HomeDir
VoltInstalled
VoltInstalling
VoltRemoving
VoltRemoved
ListDir
Fields
§
items: Vec<FileNodeItem>
DiffFiles
DiffInfo
UpdateTerminal
CloseTerminal
Log
Trait Implementations§
Source§impl Clone for CoreNotification
impl Clone for CoreNotification
Source§fn clone(&self) -> CoreNotification
fn clone(&self) -> CoreNotification
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 CoreNotification
impl Debug for CoreNotification
Source§impl<'de> Deserialize<'de> for CoreNotification
impl<'de> Deserialize<'de> for CoreNotification
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 CoreNotification
impl RefUnwindSafe for CoreNotification
impl Send for CoreNotification
impl Sync for CoreNotification
impl Unpin for CoreNotification
impl UnwindSafe for CoreNotification
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