pub struct ServerId(/* private fields */);Expand description
Unique identity of a configured LSP server within a workspace.
Derived from LspServerConfig::id: a server’s explicit name if set,
otherwise its language_id. This is the key used throughout the bridge
layer (Translator::lsp_clients, lsp_servers, notification receivers)
instead of a raw language string, so two servers sharing a language no
longer silently overwrite each other.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ServerId
impl<'de> Deserialize<'de> for ServerId
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
impl Eq for ServerId
impl StructuralPartialEq for ServerId
Auto Trait Implementations§
impl Freeze for ServerId
impl RefUnwindSafe for ServerId
impl Send for ServerId
impl Sync for ServerId
impl Unpin for ServerId
impl UnsafeUnpin for ServerId
impl UnwindSafe for ServerId
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