pub struct LspOpened<'a> {
pub nonce: u16,
pub lsp_id: u16,
pub status: u8,
pub flags: u8,
pub root: &'a str,
pub detail: &'a str,
}Expand description
A decoded S2C_LSP_OPENED.
Fields§
§nonce: u16§lsp_id: u16§status: u8§flags: u8§root: &'a strEscaped canonical workspace root; empty on failure.
detail: &'a strDiagnostic on failure.
Trait Implementations§
impl<'a> Eq for LspOpened<'a>
impl<'a> StructuralPartialEq for LspOpened<'a>
Auto Trait Implementations§
impl<'a> Freeze for LspOpened<'a>
impl<'a> RefUnwindSafe for LspOpened<'a>
impl<'a> Send for LspOpened<'a>
impl<'a> Sync for LspOpened<'a>
impl<'a> Unpin for LspOpened<'a>
impl<'a> UnsafeUnpin for LspOpened<'a>
impl<'a> UnwindSafe for LspOpened<'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