pub struct LspServerState {
pub phase: u8,
pub progress_pct: u8,
pub caps: u32,
pub epoch: u32,
pub refused_edits: u32,
pub rss: u64,
pub id: String,
pub msg: String,
}Expand description
One backend’s projected state, from a SERVER record.
Fields§
§phase: u8§progress_pct: u8§caps: u32§epoch: u32§refused_edits: u32§rss: u64§id: String§msg: StringTrait Implementations§
Source§impl Clone for LspServerState
impl Clone for LspServerState
Source§fn clone(&self) -> LspServerState
fn clone(&self) -> LspServerState
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 Debug for LspServerState
impl Debug for LspServerState
impl Eq for LspServerState
Source§impl PartialEq for LspServerState
impl PartialEq for LspServerState
impl StructuralPartialEq for LspServerState
Auto Trait Implementations§
impl Freeze for LspServerState
impl RefUnwindSafe for LspServerState
impl Send for LspServerState
impl Sync for LspServerState
impl Unpin for LspServerState
impl UnsafeUnpin for LspServerState
impl UnwindSafe for LspServerState
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