Enum project2::LanguageServerState
source · pub enum LanguageServerState {
Starting(Task<Option<Arc<LanguageServer>>>),
Running {
language: Arc<Language>,
adapter: Arc<CachedLspAdapter>,
server: Arc<LanguageServer>,
watched_paths: HashMap<WorktreeId, GlobSet>,
simulate_disk_based_diagnostics_completion: Option<Task<()>>,
},
}
Variants§
Starting(Task<Option<Arc<LanguageServer>>>)
Running
Fields
§
adapter: Arc<CachedLspAdapter>
§
server: Arc<LanguageServer>
§
watched_paths: HashMap<WorktreeId, GlobSet>
Auto Trait Implementations§
impl !RefUnwindSafe for LanguageServerState
impl Send for LanguageServerState
impl Sync for LanguageServerState
impl Unpin for LanguageServerState
impl !UnwindSafe for LanguageServerState
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