pub struct RouteSignals {
pub push_notifications_degraded: bool,
pub indexing: IndexingSignal,
}Expand description
Route-level health signals shared by every diagnostics reader
(get_diagnostics, get_cached_diagnostics, and the diagnostics
resource), so the three can never report different keys or semantics.
Fields§
§push_notifications_degraded: booltrue if this file’s diagnostics server crashed and was restarted; push-only diagnostics are lost.
The restart happened during this mcpls session. Diagnostics the server delivers only by push (e.g. rust-analyzer’s flycheck/clippy) are no longer received, so the returned diagnostics may be incomplete until mcpls restarts.
indexing: IndexingSignalThe indexing half, shared with the tools that only report it.
Implementations§
Source§impl RouteSignals
impl RouteSignals
Trait Implementations§
Source§impl Clone for RouteSignals
impl Clone for RouteSignals
impl Copy for RouteSignals
Source§impl Debug for RouteSignals
impl Debug for RouteSignals
Source§impl Default for RouteSignals
impl Default for RouteSignals
impl Eq for RouteSignals
Source§impl JsonSchema for RouteSignals
impl JsonSchema for RouteSignals
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RouteSignals
impl PartialEq for RouteSignals
Source§impl Serialize for RouteSignals
impl Serialize for RouteSignals
impl StructuralPartialEq for RouteSignals
Auto Trait Implementations§
impl Freeze for RouteSignals
impl RefUnwindSafe for RouteSignals
impl Send for RouteSignals
impl Sync for RouteSignals
impl Unpin for RouteSignals
impl UnsafeUnpin for RouteSignals
impl UnwindSafe for RouteSignals
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.