pub enum ProxyNotification {
Show 21 variants
Initialize {
workspace: Option<PathBuf>,
disabled_volts: Vec<String>,
plugin_configurations: HashMap<String, HashMap<String, Value>>,
window_id: usize,
tab_id: usize,
},
OpenFileChanged {
path: PathBuf,
},
OpenPaths {
folders: Vec<PathBuf>,
files: Vec<PathBuf>,
},
Shutdown {},
Completion {
request_id: usize,
path: PathBuf,
input: String,
position: Position,
},
Update {
path: PathBuf,
delta: RopeDelta,
rev: u64,
},
UpdatePluginConfigs {
configs: HashMap<String, HashMap<String, Value>>,
},
NewTerminal {
term_id: TermId,
cwd: Option<PathBuf>,
shell: String,
},
InstallVolt {
volt: VoltInfo,
},
RemoveVolt {
volt: VoltMetadata,
},
ReloadVolt {
volt: VoltMetadata,
},
DisableVolt {
volt: VoltInfo,
},
EnableVolt {
volt: VoltInfo,
},
GitCommit {
message: String,
diffs: Vec<FileDiff>,
},
GitCheckout {
branch: String,
},
GitDiscardFilesChanges {
files: Vec<PathBuf>,
},
GitDiscardWorkspaceChanges {},
GitInit {},
TerminalWrite {
term_id: TermId,
content: String,
},
TerminalResize {
term_id: TermId,
width: usize,
height: usize,
},
TerminalClose {
term_id: TermId,
},
}
Variants§
Initialize
Fields
OpenFileChanged
OpenPaths
Shutdown
Completion
Update
UpdatePluginConfigs
NewTerminal
InstallVolt
RemoveVolt
Fields
§
volt: VoltMetadata
ReloadVolt
Fields
§
volt: VoltMetadata
DisableVolt
EnableVolt
GitCommit
GitCheckout
GitDiscardFilesChanges
GitDiscardWorkspaceChanges
GitInit
TerminalWrite
TerminalResize
TerminalClose
Trait Implementations§
Source§impl Clone for ProxyNotification
impl Clone for ProxyNotification
Source§fn clone(&self) -> ProxyNotification
fn clone(&self) -> ProxyNotification
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 ProxyNotification
impl Debug for ProxyNotification
Source§impl<'de> Deserialize<'de> for ProxyNotification
impl<'de> Deserialize<'de> for ProxyNotification
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 ProxyNotification
impl RefUnwindSafe for ProxyNotification
impl Send for ProxyNotification
impl Sync for ProxyNotification
impl Unpin for ProxyNotification
impl UnwindSafe for ProxyNotification
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