pub enum Event {
Show 20 variants
LanguageServerAdded(LanguageServerId),
LanguageServerRemoved(LanguageServerId),
LanguageServerLog(LanguageServerId, String),
Notification(String),
ActiveEntryChanged(Option<ProjectEntryId>),
ActivateProjectPanel,
WorktreeAdded,
WorktreeRemoved(WorktreeId),
WorktreeUpdatedEntries(WorktreeId, UpdatedEntriesSet),
DiskBasedDiagnosticsStarted {
language_server_id: LanguageServerId,
},
DiskBasedDiagnosticsFinished {
language_server_id: LanguageServerId,
},
DiagnosticsUpdated {
path: ProjectPath,
language_server_id: LanguageServerId,
},
RemoteIdChanged(Option<u64>),
DisconnectedFromHost,
Closed,
DeletedEntry(ProjectEntryId),
CollaboratorUpdated {
old_peer_id: PeerId,
new_peer_id: PeerId,
},
CollaboratorJoined(PeerId),
CollaboratorLeft(PeerId),
RefreshInlayHints,
}
Variants§
LanguageServerAdded(LanguageServerId)
LanguageServerRemoved(LanguageServerId)
LanguageServerLog(LanguageServerId, String)
Notification(String)
ActiveEntryChanged(Option<ProjectEntryId>)
ActivateProjectPanel
WorktreeAdded
WorktreeRemoved(WorktreeId)
WorktreeUpdatedEntries(WorktreeId, UpdatedEntriesSet)
DiskBasedDiagnosticsStarted
Fields
§
language_server_id: LanguageServerId
DiskBasedDiagnosticsFinished
Fields
§
language_server_id: LanguageServerId
DiagnosticsUpdated
RemoteIdChanged(Option<u64>)
DisconnectedFromHost
Closed
DeletedEntry(ProjectEntryId)
CollaboratorUpdated
CollaboratorJoined(PeerId)
CollaboratorLeft(PeerId)
RefreshInlayHints
Trait Implementations§
source§impl PartialEq<Event> for Event
impl PartialEq<Event> for Event
impl EventEmitter<Event> for Project
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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