pub struct LspInlayHintRefresh {
pub server_id: Arc<str>,
}Expand description
4.4.g: fired when an attached server requests
workspace/inlayHint/refresh. The host invalidates every
cached inlay-hint entry for buffers attached to this
server; the next render tick re-issues inlayHint and
repopulates.
The actor replies null to the server inline (the request
is fire-and-forget from the LSP spec’s perspective); the
cache invalidation flows over the typed event bus so the
App-side drain can mutate lsp_inlay_hints_cache without
the actor needing buffer-state access.
Fields§
§server_id: Arc<str>Trait Implementations§
Source§impl Clone for LspInlayHintRefresh
impl Clone for LspInlayHintRefresh
Source§fn clone(&self) -> LspInlayHintRefresh
fn clone(&self) -> LspInlayHintRefresh
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 LspInlayHintRefresh
impl Debug for LspInlayHintRefresh
Source§impl Event for LspInlayHintRefresh
impl Event for LspInlayHintRefresh
Source§fn event_type_id(&self) -> EventTypeId
fn event_type_id(&self) -> EventTypeId
The type-id under which this event is registered.
Implementors typically delegate to a
static to avoid
re-allocating the metadata on every call. The macro
register_event! generates this for you.Auto Trait Implementations§
impl Freeze for LspInlayHintRefresh
impl RefUnwindSafe for LspInlayHintRefresh
impl Send for LspInlayHintRefresh
impl Sync for LspInlayHintRefresh
impl Unpin for LspInlayHintRefresh
impl UnsafeUnpin for LspInlayHintRefresh
impl UnwindSafe for LspInlayHintRefresh
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more