pub enum LspServersRecord<'a> {
Server {
server_ref: u16,
phase: u8,
progress_pct: u8,
caps: u32,
epoch: u32,
refused_edits: u32,
rss: u64,
id: &'a str,
msg: &'a str,
root: &'a str,
},
}Expand description
One decoded record from an LSP_SERVERS payload: the LSP_STATE
SERVER layout plus the escaped workspace root.
Variants§
Server
SERVER 0x01: the LSP_STATE layout + [root_len:2][root:N]
Trait Implementations§
Source§impl<'a> Clone for LspServersRecord<'a>
impl<'a> Clone for LspServersRecord<'a>
Source§fn clone(&self) -> LspServersRecord<'a>
fn clone(&self) -> LspServersRecord<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for LspServersRecord<'a>
impl<'a> Debug for LspServersRecord<'a>
impl<'a> Eq for LspServersRecord<'a>
Source§impl<'a> PartialEq for LspServersRecord<'a>
impl<'a> PartialEq for LspServersRecord<'a>
impl<'a> StructuralPartialEq for LspServersRecord<'a>
Auto Trait Implementations§
impl<'a> Freeze for LspServersRecord<'a>
impl<'a> RefUnwindSafe for LspServersRecord<'a>
impl<'a> Send for LspServersRecord<'a>
impl<'a> Sync for LspServersRecord<'a>
impl<'a> Unpin for LspServersRecord<'a>
impl<'a> UnsafeUnpin for LspServersRecord<'a>
impl<'a> UnwindSafe for LspServersRecord<'a>
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